summaryrefslogtreecommitdiff
path: root/board/freescale/ls1028a/ls1028a.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/ls1028a/ls1028a.c')
-rw-r--r--board/freescale/ls1028a/ls1028a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/ls1028a/ls1028a.c b/board/freescale/ls1028a/ls1028a.c
index e01b5a8c2eb..db94d9c1fa8 100644
--- a/board/freescale/ls1028a/ls1028a.c
+++ b/board/freescale/ls1028a/ls1028a.c
@@ -123,7 +123,7 @@ int board_early_init_f(void)
u8 uart;
#endif
-#if defined(CONFIG_SYS_I2C_EARLY_INIT) && defined(CONFIG_SPL_BUILD)
+#if defined(CONFIG_SYS_I2C_EARLY_INIT) && defined(CONFIG_XPL_BUILD)
i2c_early_init_f();
#endif