[rdc] also copy bzImage when generating initramfs images
[openwrt.git] / target / linux / etrax / patches-2.6.29 / 500-i2c_gvc.patch
1 --- a/arch/cris/arch-v10/drivers/Kconfig
2 +++ b/arch/cris/arch-v10/drivers/Kconfig
3 @@ -450,11 +450,18 @@ config ETRAX_I2C
4 i2c_arg = I2C_READARG(STA013_READ_ADDR, reg);
5 val = ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_READREG), i2c_arg);
6
7 +config ETRAX_I2C_GVC
8 + bool "I2C GVC support"
9 + depends on ETRAX_ARCH_V10 && !ETRAX_I2C
10 + select ETRAX_I2C_USES_PB_NOT_PB_I2C
11 + help
12 + Enables an I2C driver with Geert Vancompernolle improvement.
13 +
14 # this is true for most products since PB-I2C seems to be somewhat
15 # flawed..
16 config ETRAX_I2C_USES_PB_NOT_PB_I2C
17 bool "I2C uses PB not PB-I2C"
18 - depends on ETRAX_I2C
19 + depends on ETRAX_I2C || ETRAX_I2C_GVC
20 help
21 Select whether to use the special I2C mode in the PB I/O register or
22 not. This option needs to be selected in order to use some drivers
23 @@ -478,7 +485,7 @@ config ETRAX_I2C_CLK_PORT
24
25 config ETRAX_I2C_EEPROM
26 bool "I2C EEPROM (non-volatile RAM) support"
27 - depends on ETRAX_I2C
28 + depends on ETRAX_I2C || ETRAX_I2C_GVC
29 help
30 Enables I2C EEPROM (non-volatile RAM) on PB0 and PB1 using the I2C
31 driver. Select size option: Probed, 2k, 8k, 16k.
32 --- a/arch/cris/arch-v10/drivers/Makefile
33 +++ b/arch/cris/arch-v10/drivers/Makefile
34 @@ -4,6 +4,7 @@
35
36 obj-$(CONFIG_ETRAX_AXISFLASHMAP) += axisflashmap.o
37 obj-$(CONFIG_ETRAX_I2C) += i2c.o
38 +obj-$(CONFIG_ETRAX_I2C_GVC) += i2c_gvc.o
39 obj-$(CONFIG_ETRAX_I2C_EEPROM) += eeprom.o
40 obj-$(CONFIG_ETRAX_GPIO) += gpio.o
41 obj-$(CONFIG_ETRAX_DS1302) += ds1302.o
This page took 0.045709 seconds and 5 git commands to generate.