samsung:board:board_init: use CONFIG_SYS_SDRAM_BASE
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Mon, 28 Jul 2014 15:43:23 +0000 (17:43 +0200)
committerLukasz Majewski <l.majewski@samsung.com>
Thu, 30 Oct 2014 08:27:16 +0000 (09:27 +0100)
Change-Id: I0e974580f4fa725f9a9e824591be57cb573a02b8
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
board/samsung/common/board.c

index 5c3c5bb..94bcc8c 100644 (file)
@@ -78,7 +78,7 @@ static void boot_temp_check(void)
 
 int board_init(void)
 {
-       gd->bd->bi_boot_params = (PHYS_SDRAM_1 + 0x100UL);
+       gd->bd->bi_boot_params = (CONFIG_SYS_SDRAM_BASE + 0x100UL);
 #if defined CONFIG_EXYNOS_TMU
        if (tmu_init(gd->fdt_blob) != TMU_STATUS_NORMAL) {
                debug("%s: Failed to init TMU\n", __func__);