i2c: Drop unused CONFIG_I2C
authorSimon Glass <sjg@chromium.org>
Sun, 11 Jul 2021 03:14:34 +0000 (21:14 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 28 Jul 2021 18:29:37 +0000 (14:29 -0400)
This actually does nothing but is defined by a few dozen boards. Drop it,
so we can define a real one.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
include/configs/bur_am335x_common.h
include/configs/siemens-am33x-common.h
include/configs/ti_armv7_common.h
scripts/config_whitelist.txt

index 042cb4637ba797316ba059f04d65572c31aef515..51585fcb3713bcccc475d698c6e2a9fe26fbc207 100644 (file)
@@ -19,7 +19,6 @@
 #define CONFIG_SYS_NS16550_CLK         (48000000)
 #define CONFIG_SYS_NS16550_COM1                0x44e09000
 
-#define CONFIG_I2C
 #define CONFIG_SYS_I2C_LEGACY
 
 #endif /* CONFIG_DM */
index abd5e2bacfd569903aa56749c20b543a01368eeb..a4b4c48d4c4d45a62ddaceb5a06937a43dcbab87 100644 (file)
@@ -73,7 +73,6 @@
 
 
 /* I2C Configuration */
-#define CONFIG_I2C
 #define CONFIG_SYS_I2C_LEGACY
 
 /* Defines for SPL */
index fe4689cf1da24a1bf7b33bc1f02569f5e72266ef..4fcf741c0a0bd3fddb5c8d782c848714c784bc76 100644 (file)
@@ -88,7 +88,6 @@
 
 /* If DM_I2C, enable non-DM I2C support */
 #if !CONFIG_IS_ENABLED(DM_I2C)
-#define CONFIG_I2C
 #define CONFIG_SYS_I2C_LEGACY
 #endif
 
index 91da5d57933cdf17c4874769b80231cfd4340645..66678cf2a24f451c2ec9ef060a994a02db30d0c7 100644 (file)
@@ -708,7 +708,6 @@ CONFIG_HUSH_INIT_VAR
 CONFIG_HVBOOT
 CONFIG_HWCONFIG
 CONFIG_HW_ENV_SETTINGS
-CONFIG_I2C
 CONFIG_I2C_ENV_EEPROM_BUS
 CONFIG_I2C_GSC
 CONFIG_I2C_MBB_TIMEOUT