diff options
Diffstat (limited to 'board/freescale/p1022ds/spl.c')
-rw-r--r-- | board/freescale/p1022ds/spl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/p1022ds/spl.c b/board/freescale/p1022ds/spl.c index 06273f1d20..8d2c1388ec 100644 --- a/board/freescale/p1022ds/spl.c +++ b/board/freescale/p1022ds/spl.c @@ -98,9 +98,9 @@ void board_init_r(gd_t *gd, ulong dest_addr) /* relocate environment function pointers etc. */ #ifdef CONFIG_SPL_NAND_BOOT nand_spl_load_image(CONFIG_ENV_OFFSET, CONFIG_ENV_SIZE, - (uchar *)CONFIG_ENV_ADDR); + (uchar *)SPL_ENV_ADDR); - gd->env_addr = (ulong)(CONFIG_ENV_ADDR); + gd->env_addr = (ulong)(SPL_ENV_ADDR); gd->env_valid = ENV_VALID; #else env_relocate(); |