diff options
Diffstat (limited to 'board/ti/am57xx/board.c')
-rw-r--r-- | board/ti/am57xx/board.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index cc5e64c9879..fc0d87daae4 100644 --- a/board/ti/am57xx/board.c +++ b/board/ti/am57xx/board.c @@ -515,7 +515,7 @@ int get_voltrail_opp(int rail_offset) return opp; } -#ifdef CONFIG_SPL_BUILD +#ifdef CONFIG_XPL_BUILD /* No env to setup for SPL */ static inline void setup_board_eeprom_env(void) { } @@ -538,7 +538,7 @@ void do_board_detect(void) #endif } -#else /* CONFIG_SPL_BUILD */ +#else /* CONFIG_XPL_BUILD */ /* Override function to read eeprom information: actual i2c read done by SPL*/ void do_board_detect(void) @@ -616,7 +616,7 @@ invalid_eeprom: set_board_info_env(name); } -#endif /* CONFIG_SPL_BUILD */ +#endif /* CONFIG_XPL_BUILD */ void vcores_init(void) { @@ -783,7 +783,7 @@ int board_late_init(void) if (board_is_bbai()) env_set("console", "ttyS0,115200n8"); -#if !defined(CONFIG_SPL_BUILD) +#if !defined(CONFIG_XPL_BUILD) board_ti_set_ethaddr(2); #endif @@ -935,7 +935,7 @@ const struct mmc_platform_fixups *platform_fixups_mmc(uint32_t addr) } #endif -#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_OS_BOOT) +#if defined(CONFIG_XPL_BUILD) && defined(CONFIG_SPL_OS_BOOT) int spl_start_uboot(void) { /* break into full u-boot on 'c' */ |