From: Przemyslaw Marczak
Date: Mon, 28 Jul 2014 15:43:23 +0000 (+0200)
Subject: samsung:board:board_init: use CONFIG_SYS_SDRAM_BASE
X-Git-Tag: submit/tizen_common/20150115.132736~50
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5fddebc0cbe93b43b5524f7f4deef1070bb85933;p=platform%2Fkernel%2Fu-boot.git
samsung:board:board_init: use CONFIG_SYS_SDRAM_BASE
Change-Id: I0e974580f4fa725f9a9e824591be57cb573a02b8
Signed-off-by: Przemyslaw Marczak
---
diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c
index 8b4c8e9a9d..cff7069e78 100644
--- a/board/samsung/common/board.c
+++ b/board/samsung/common/board.c
@@ -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__);