summaryrefslogtreecommitdiff
path: root/board/freescale/t208xrdb/spl.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-11-21 08:25:53 -0500
committerTom Rini <trini@konsulko.com>2019-11-21 08:25:53 -0500
commitf0fcab6f8e11cee6d6b81a08fbfc641f6fcce0ec (patch)
tree93c09653555ff696eb7705a74475a711cea8b316 /board/freescale/t208xrdb/spl.c
parentad38de2093035e07a09d6995a90a0d28fac75a95 (diff)
parenta09fea1d28fe3c69a64bee092f5a764274d26ca2 (diff)
Merge branch '2019-11-20-env-migration'
- Migrate a number of common environment related options to Kconfig
Diffstat (limited to 'board/freescale/t208xrdb/spl.c')
-rw-r--r--board/freescale/t208xrdb/spl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/freescale/t208xrdb/spl.c b/board/freescale/t208xrdb/spl.c
index ca7d6a28e0..d7ca0dd6db 100644
--- a/board/freescale/t208xrdb/spl.c
+++ b/board/freescale/t208xrdb/spl.c
@@ -81,19 +81,19 @@ void board_init_r(gd_t *gd, ulong dest_addr)
#ifdef CONFIG_SPL_NAND_BOOT
nand_spl_load_image(CONFIG_ENV_OFFSET, CONFIG_ENV_SIZE,
- (uchar *)CONFIG_ENV_ADDR);
+ (uchar *)SPL_ENV_ADDR);
#endif
#ifdef CONFIG_SPL_MMC_BOOT
mmc_initialize(bd);
mmc_spl_load_image(CONFIG_ENV_OFFSET, CONFIG_ENV_SIZE,
- (uchar *)CONFIG_ENV_ADDR);
+ (uchar *)SPL_ENV_ADDR);
#endif
#ifdef CONFIG_SPL_SPI_BOOT
fsl_spi_spl_load_image(CONFIG_ENV_OFFSET, CONFIG_ENV_SIZE,
- (uchar *)CONFIG_ENV_ADDR);
+ (uchar *)SPL_ENV_ADDR);
#endif
- gd->env_addr = (ulong)(CONFIG_ENV_ADDR);
+ gd->env_addr = (ulong)(SPL_ENV_ADDR);
gd->env_valid = ENV_VALID;
i2c_init_all();