]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Kconfig: convert CONFIG_SYS_I2C_LPC32XX
authorTrevor Woerner <twoerner@gmail.com>
Fri, 11 Jun 2021 02:37:08 +0000 (22:37 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 6 Jul 2021 18:12:15 +0000 (14:12 -0400)
Convert the CONFIG_SYS_I2C_LPC32XX configuration symbol from an include
directive to a Kconfig value.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
configs/devkit3250_defconfig
configs/work_92105_defconfig
drivers/i2c/Kconfig
include/configs/devkit3250.h
include/configs/work_92105.h
scripts/config_whitelist.txt

index 9ae70f7d463466fe607b123d1b40961398ecd59a..c0354bce1a2ddff0186514aa9bce4d04cb5c4141 100644 (file)
@@ -38,6 +38,7 @@ CONFIG_CMD_JFFS2=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_VERSION_VARIABLE=y
+CONFIG_SYS_I2C_LPC32XX=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
index e9605adeddfa5babf9bfb9b12820b57cdb7458fe..507f24fc375a62338e317ddd8f8b3e4ed8d94311 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_DOS_PARTITION=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_VERSION_VARIABLE=y
+CONFIG_SYS_I2C_LPC32XX=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
index ce0d796d09c0ed16e8be54868e34410e87efeded..41065dd50262c5c7bf1c3303e441b3cd5ad476b8 100644 (file)
@@ -169,6 +169,12 @@ config SYS_I2C_IMX_LPI2C
        help
          Add support for the NXP i.MX LPI2C driver.
 
+config SYS_I2C_LPC32XX
+       bool "LPC32XX I2C driver"
+       depends on ARCH_LPC32XX
+       help
+         Enable support for the LPC32xx I2C driver.
+
 config SYS_I2C_MESON
        bool "Amlogic Meson I2C driver"
        depends on DM_I2C && ARCH_MESON
index 921a38c01ea7170fe1d5d3f0a0185762e57b6b73..465d9ce8e99dc6a83a4f3fbcf1748233d5951ee2 100644 (file)
@@ -41,7 +41,6 @@
  * I2C
  */
 #define CONFIG_SYS_I2C
-#define CONFIG_SYS_I2C_LPC32XX
 #define CONFIG_SYS_I2C_SPEED           100000
 
 /*
index 076a1b065ebc63734c68aa9732da33665aaac391..d498c8f3bc6aeb22c9e9908d3667fa96f6bc9122 100644 (file)
@@ -47,7 +47,6 @@
  * I2C driver
  */
 
-#define CONFIG_SYS_I2C_LPC32XX
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_SPEED 350000
 
index 624d851f0dd20252c9077e7038d50382de24a1a2..ca6066b85efde414b726514a850b8c5725223023 100644 (file)
@@ -2542,7 +2542,6 @@ CONFIG_SYS_I2C_INIT_BOARD
 CONFIG_SYS_I2C_LDI_ADDR
 CONFIG_SYS_I2C_LM75_ADDR
 CONFIG_SYS_I2C_LM90_ADDR
-CONFIG_SYS_I2C_LPC32XX
 CONFIG_SYS_I2C_LPC32XX_SLAVE
 CONFIG_SYS_I2C_LPC32XX_SPEED
 CONFIG_SYS_I2C_MAC1_BUS