soc: stm32: replace use of Kconfig I2C by I2C_STM32

For LL header inclusion, use _STM32 Kconfig symbol
(related to the driver), rather than generic symbol,
that could theoretically use an alternate solution.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2019-10-10 11:11:57 +02:00 committed by Maureen Helm
commit fe303c42cc
9 changed files with 11 additions and 10 deletions

View file

@ -51,7 +51,7 @@
#include <stm32f0xx_ll_wwdg.h>
#endif
#ifdef CONFIG_I2C_STM32_V2
#ifdef CONFIG_I2C_STM32
#include <stm32f0xx_ll_i2c.h>
#endif

View file

@ -43,7 +43,7 @@
#include <stm32f1xx_ll_system.h>
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
#ifdef CONFIG_I2C
#ifdef CONFIG_I2C_STM32
#include <stm32f1xx_ll_i2c.h>
#endif

View file

@ -44,7 +44,7 @@
#include <stm32f3xx_ll_system.h>
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
#ifdef CONFIG_I2C
#ifdef CONFIG_I2C_STM32
#include <stm32f3xx_ll_i2c.h>
#endif

View file

@ -42,7 +42,7 @@
#include <stm32f4xx_ll_usart.h>
#endif
#ifdef CONFIG_I2C
#ifdef CONFIG_I2C_STM32
#include <stm32f4xx_ll_i2c.h>
#endif

View file

@ -41,7 +41,7 @@
#include <stm32f7xx_ll_usart.h>
#endif
#ifdef CONFIG_I2C
#ifdef CONFIG_I2C_STM32
#include <stm32f7xx_ll_i2c.h>
#endif

View file

@ -47,7 +47,7 @@
#include <stm32l1xx_ll_exti.h>
#endif
#ifdef CONFIG_I2C
#ifdef CONFIG_I2C_STM32
#include <stm32l1xx_ll_i2c.h>
#endif

View file

@ -55,7 +55,7 @@
#include <stm32l4xx_ll_spi.h>
#endif
#ifdef CONFIG_I2C
#ifdef CONFIG_I2C_STM32
#include <stm32l4xx_ll_i2c.h>
#endif

View file

@ -54,7 +54,7 @@
#include <stm32mp1xx_ll_ipcc.h>
#endif
#ifdef CONFIG_I2C
#ifdef CONFIG_I2C_STM32
#include <stm32mp1xx_ll_i2c.h>
#endif

View file

@ -52,9 +52,10 @@
#ifdef CONFIG_FLASH
#include <stm32wbxx_ll_hsem.h>
#endif /* CONFIG_FLASH */
#ifdef CONFIG_I2C
#ifdef CONFIG_I2C_STM32
#include <stm32wbxx_ll_i2c.h>
#endif /* CONFIG_I2C */
#endif /* CONFIG_I2C_STM32 */
#ifdef CONFIG_SPI_STM32
#include <stm32wbxx_ll_spi.h>