diff options
author | Tom Rini <trini@konsulko.com> | 2021-08-17 17:59:46 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-08-30 14:10:06 -0400 |
commit | de6957256980d9aa1bf11585e6e5b4740d3ccb97 (patch) | |
tree | 4204fc42c9bb04893beb2cf4e030010185d6182a /include/configs/sunxi-common.h | |
parent | 88cd7d0ea961ca11b1eeaaea8b7811573b103abb (diff) | |
download | u-boot-de6957256980d9aa1bf11585e6e5b4740d3ccb97.tar.gz |
Convert CONFIG_SYS_I2C_SOFT et al to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_I2C_SOFT
CONFIG_SYS_I2C_SOFT_SPEED
CONFIG_SYS_I2C_SOFT_SLAVE
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r-- | include/configs/sunxi-common.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 958b850da4..4f7049a4de 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -205,10 +205,7 @@ #endif #endif -#if defined CONFIG_VIDEO_LCD_PANEL_I2C && !(defined CONFIG_SPL_BUILD) -#define CONFIG_SYS_I2C_SOFT -#define CONFIG_SYS_I2C_SOFT_SPEED 50000 -#define CONFIG_SYS_I2C_SOFT_SLAVE 0x00 +#if defined(CONFIG_VIDEO_LCD_PANEL_I2C) /* We use pin names in Kconfig and sunxi_name_to_gpio() */ #define CONFIG_SOFT_I2C_GPIO_SDA soft_i2c_gpio_sda #define CONFIG_SOFT_I2C_GPIO_SCL soft_i2c_gpio_scl |