diff options
Diffstat (limited to 'board/freescale/ls1021atwr/ls1021atwr.c')
-rw-r--r-- | board/freescale/ls1021atwr/ls1021atwr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale/ls1021atwr/ls1021atwr.c index 78006afce86..cc9665c0410 100644 --- a/board/freescale/ls1021atwr/ls1021atwr.c +++ b/board/freescale/ls1021atwr/ls1021atwr.c @@ -224,7 +224,7 @@ void ddrmc_init(void) int dram_init(void) { -#if (!defined(CONFIG_SPL) || defined(CONFIG_SPL_BUILD)) +#if (!defined(CONFIG_SPL) || defined(CONFIG_XPL_BUILD)) ddrmc_init(); #endif @@ -232,7 +232,7 @@ int dram_init(void) gd->ram_size = get_ram_size((void *)PHYS_SDRAM, PHYS_SDRAM_SIZE); -#if defined(CONFIG_DEEP_SLEEP) && !defined(CONFIG_SPL_BUILD) +#if defined(CONFIG_DEEP_SLEEP) && !defined(CONFIG_XPL_BUILD) fsl_dp_resume(); #endif @@ -407,7 +407,7 @@ int board_early_init_f(void) return 0; } -#ifdef CONFIG_SPL_BUILD +#ifdef CONFIG_XPL_BUILD void board_init_f(ulong dummy) { void (*second_uboot)(void); @@ -527,7 +527,7 @@ int board_init(void) return 0; } -#if defined(CONFIG_SPL_BUILD) +#if defined(CONFIG_XPL_BUILD) void spl_board_init(void) { if (IS_ENABLED(CONFIG_FSL_CAAM)) { @@ -607,7 +607,7 @@ u16 flash_read16(void *addr) } #if !defined(CONFIG_QSPI_BOOT) && !defined(CONFIG_SD_BOOT_QSPI) \ - && !defined(CONFIG_SPL_BUILD) + && !defined(CONFIG_XPL_BUILD) static void convert_flash_bank(char bank) { struct cpld_data *cpld_data = (void *)(CFG_SYS_CPLD_BASE); |