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:
parent
88b71bdf6c
commit
fe303c42cc
9 changed files with 11 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#include <stm32f4xx_ll_usart.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_I2C
|
||||
#ifdef CONFIG_I2C_STM32
|
||||
#include <stm32f4xx_ll_i2c.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
#include <stm32f7xx_ll_usart.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_I2C
|
||||
#ifdef CONFIG_I2C_STM32
|
||||
#include <stm32f7xx_ll_i2c.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
#include <stm32l1xx_ll_exti.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_I2C
|
||||
#ifdef CONFIG_I2C_STM32
|
||||
#include <stm32l1xx_ll_i2c.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
#include <stm32l4xx_ll_spi.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_I2C
|
||||
#ifdef CONFIG_I2C_STM32
|
||||
#include <stm32l4xx_ll_i2c.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
#include <stm32mp1xx_ll_ipcc.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_I2C
|
||||
#ifdef CONFIG_I2C_STM32
|
||||
#include <stm32mp1xx_ll_i2c.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue