i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY
It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
@@ -2297,7 +2297,6 @@ CONFIG_SYS_HMI_BASE
|
||||
CONFIG_SYS_HRCW_HIGH
|
||||
CONFIG_SYS_HRCW_LOW
|
||||
CONFIG_SYS_HZ_CLOCK
|
||||
CONFIG_SYS_I2C
|
||||
CONFIG_SYS_I2C2_FSL_OFFSET
|
||||
CONFIG_SYS_I2C2_OFFSET
|
||||
CONFIG_SYS_I2C2_PINMUX_CLR
|
||||
@@ -2352,6 +2351,7 @@ CONFIG_SYS_I2C_IHS_SPEED_3
|
||||
CONFIG_SYS_I2C_IHS_SPEED_3_1
|
||||
CONFIG_SYS_I2C_INIT_BOARD
|
||||
CONFIG_SYS_I2C_LDI_ADDR
|
||||
CONFIG_SYS_I2C_LEGACY
|
||||
CONFIG_SYS_I2C_LPC32XX_SLAVE
|
||||
CONFIG_SYS_I2C_LPC32XX_SPEED
|
||||
CONFIG_SYS_I2C_MAC1_BUS
|
||||
|
||||
Reference in New Issue
Block a user