summaryrefslogtreecommitdiff
path: root/board/st/stm32f429-discovery/stm32f429-discovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/st/stm32f429-discovery/stm32f429-discovery.c')
-rw-r--r--board/st/stm32f429-discovery/stm32f429-discovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/st/stm32f429-discovery/stm32f429-discovery.c b/board/st/stm32f429-discovery/stm32f429-discovery.c
index e800d70f76..500dc5fe3a 100644
--- a/board/st/stm32f429-discovery/stm32f429-discovery.c
+++ b/board/st/stm32f429-discovery/stm32f429-discovery.c
@@ -54,7 +54,7 @@ int board_early_init_f(void)
int board_init(void)
{
- gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
+ gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
return 0;
}