From 5fddebc0cbe93b43b5524f7f4deef1070bb85933 Mon Sep 17 00:00:00 2001
From: Przemyslaw Marczak
Date: Mon, 28 Jul 2014 17:43:23 +0200
Subject: [PATCH] samsung:board:board_init: use CONFIG_SYS_SDRAM_BASE
Change-Id: I0e974580f4fa725f9a9e824591be57cb573a02b8
Signed-off-by: Przemyslaw Marczak
---
board/samsung/common/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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__);
--
2.34.1