zephyr/arch
Andre Guedes 565cb2b020 quark_se: Fix I2C-related options selection
Currently, if we disable I2C_DW through 'menuconfig', I2C_DW_0* and
I2C_DW_1* options are not disabled even if they depend on I2C_DW
option. This makes the menuconfig confusing and we end up with the
wrong config set in .config file:

...
CONFIG_I2C_DW is not set
CONFIG_I2C_DW_0=y
...
CONFIG_I2C_DW_1=y
...

This patch fixes this issue by surrounding the I2C_DW_0* and I2C_DW_1*
options with 'if I2C_DW'.

Change-Id: I7e949b066425bca2533f8b84b9ea7b1915369ff0
Signed-off-by: Andre Guedes <andre.guedes@intel.com>
2016-02-05 20:25:17 -05:00
..
arc quark_se_ss: toggle I2C0 when I2C is enabled 2016-02-05 20:25:16 -05:00
arm kbuild: Move CONFIG_STACK_CANARIES check 2016-02-05 20:25:15 -05:00
x86 quark_se: Fix I2C-related options selection 2016-02-05 20:25:17 -05:00
Kconfig Use SoC instead of platform. 2016-02-05 20:25:11 -05:00
Makefile arc: add missing Kconfig/Makefiles to architecture 2016-02-05 20:14:26 -05:00