summaryrefslogtreecommitdiff
path: root/arch/arm/mach-sunxi
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-11 06:14:36 +0300
committerTom Rini <trini@konsulko.com>2021-07-28 21:29:37 +0300
commit975e7cf301b9641517a1173e2a1047ac0ed20daf (patch)
treed8d3eb3177cb7b8667955818951161ca509c35a0 /arch/arm/mach-sunxi
parent59e11ebf841454a0991731f1ee6ae4eafd9cb235 (diff)
downloadu-boot-975e7cf301b9641517a1173e2a1047ac0ed20daf.tar.xz
i2c: Rename SPL/TPL_I2C_SUPPORT to I2C
Rename these options so that CONFIG_IS_ENABLED can be used with them. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'arch/arm/mach-sunxi')
-rw-r--r--arch/arm/mach-sunxi/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c
index e979e426dd..d9b04f75fc 100644
--- a/arch/arm/mach-sunxi/board.c
+++ b/arch/arm/mach-sunxi/board.c
@@ -339,7 +339,7 @@ void board_init_f(ulong dummy)
spl_init();
preloader_console_init();
-#ifdef CONFIG_SPL_I2C_SUPPORT
+#ifdef CONFIG_SPL_I2C
/* Needed early by sunxi_board_init if PMU is enabled */
i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
#endif