board: stm32: use bi_dram[0].start instead of hardcoded value
[platform/kernel/u-boot.git] / board / st / stm32f469-discovery / stm32f469-discovery.c
index a457f90..70d23d9 100644 (file)
@@ -48,7 +48,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;
 }