Skip to content
Permalink
Browse files

stm32: Remove redundant I2C variant Kconfig symbols definitions

I2C_STM32_V1 and I2C_STM32_V2 are Kconfig symbols used to
select STM32 I2C driver variant based on I2C IP available on a
given STM32 SoC.
Being SoC dependent, they are automatically selected in soc/
if CONFIG_I2C is set. Then there is no need to define them at board
level, nor for a specific application like this is done in
some sample or test applications. Remove these definitions when
this is the case.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
  • Loading branch information...
erwango authored and nashif committed May 24, 2019
1 parent 2ff1e56 commit bddb343b0904b1bbbcd65d317a03d036ce36242e
@@ -1,2 +1 @@
CONFIG_I2C_STM32_V1=y
CONFIG_I2C_3=y
@@ -1,2 +1 @@
CONFIG_I2C_STM32_V1=y
CONFIG_I2C_1=y
@@ -1,4 +1,3 @@
CONFIG_I2C_STM32_V2=y
CONFIG_I2C_STM32_INTERRUPT=y
CONFIG_I2C_1=y
CONFIG_I2C_2=y
@@ -1,4 +1,3 @@
CONFIG_I2C_STM32_V2=y
CONFIG_I2C_STM32_INTERRUPT=y
CONFIG_I2C_1=y
CONFIG_I2C_2=y

0 comments on commit bddb343

Please sign in to comment.
You can’t perform that action at this time.