arch: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD
Use the new symbol to refer to any 'SPL' build, including TPL and VPL Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -221,8 +221,8 @@ int do_lowlevel_init(void)
|
||||
if (actions & DO_CLOCKS) {
|
||||
system_clock_init();
|
||||
#ifdef CONFIG_DEBUG_UART
|
||||
#if (defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_SERIAL)) || \
|
||||
!defined(CONFIG_SPL_BUILD)
|
||||
#if (defined(CONFIG_XPL_BUILD) && defined(CONFIG_SPL_SERIAL)) || \
|
||||
!defined(CONFIG_XPL_BUILD)
|
||||
exynos_pinmux_config(PERIPH_ID_UART3, PINMUX_FLAG_NONE);
|
||||
debug_uart_init();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user