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)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Thu, 15 Jan 2015 06:35:40 +0000 (15:35 +0900)
Change-Id: I0e974580f4fa725f9a9e824591be57cb573a02b8
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
board/samsung/common/board.c

index 8b4c8e9a9db90f882a1349e1b5c6e1258fc77ce3..cff7069e78584393afaf5149b6238fcd13b89a02 100644 (file)
@@ -74,7 +74,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__);