aboutsummaryrefslogtreecommitdiff
path: root/board/sunxi
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-17 17:59:46 -0400
committerTom Rini <trini@konsulko.com>2021-08-30 14:10:06 -0400
commitde6957256980d9aa1bf11585e6e5b4740d3ccb97 (patch)
tree4204fc42c9bb04893beb2cf4e030010185d6182a /board/sunxi
parent88cd7d0ea961ca11b1eeaaea8b7811573b103abb (diff)
downloadu-boot-de6957256980d9aa1bf11585e6e5b4740d3ccb97.zip
u-boot-de6957256980d9aa1bf11585e6e5b4740d3ccb97.tar.gz
u-boot-de6957256980d9aa1bf11585e6e5b4740d3ccb97.tar.bz2
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 'board/sunxi')
-rw-r--r--board/sunxi/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 1a46100..2b7d655 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -47,7 +47,7 @@
#include <sy8106a.h>
#include <asm/setup.h>
-#if defined CONFIG_VIDEO_LCD_PANEL_I2C && !(defined CONFIG_SPL_BUILD)
+#if defined(CONFIG_VIDEO_LCD_PANEL_I2C)
/* So that we can use pin names in Kconfig and sunxi_name_to_gpio() */
int soft_i2c_gpio_sda;
int soft_i2c_gpio_scl;