summaryrefslogtreecommitdiff
path: root/board/samsung
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2010-11-22 20:26:46 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2010-11-30 08:45:19 +0900
commit98877c3c0efacb5c61068280b6441a61e2dc3a24 (patch)
treec464de06f24ce6a53e474eb1f5efcc108f3db3a9 /board/samsung
parent464ce9489b848f9dfde74da5715b6d1b5db46a5e (diff)
downloadu-boot-imx-98877c3c0efacb5c61068280b6441a61e2dc3a24.zip
u-boot-imx-98877c3c0efacb5c61068280b6441a61e2dc3a24.tar.gz
u-boot-imx-98877c3c0efacb5c61068280b6441a61e2dc3a24.tar.bz2
S5P: smdkc100: fix for relocation
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'board/samsung')
-rw-r--r--board/samsung/smdkc100/smdkc100.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/board/samsung/smdkc100/smdkc100.c b/board/samsung/smdkc100/smdkc100.c
index 31e8d9e..d3189f6 100644
--- a/board/samsung/smdkc100/smdkc100.c
+++ b/board/samsung/smdkc100/smdkc100.c
@@ -65,13 +65,17 @@ int board_init(void)
int dram_init(void)
{
- gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
- gd->bd->bi_dram[0].size = get_ram_size((long *)PHYS_SDRAM_1,
- PHYS_SDRAM_1_SIZE);
+ gd->ram_size = get_ram_size((long *)PHYS_SDRAM_1, PHYS_SDRAM_1_SIZE);
return 0;
}
+void dram_init_banksize(void)
+{
+ gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
+ gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
+}
+
#ifdef CONFIG_DISPLAY_BOARDINFO
int checkboard(void)
{