diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2010-11-22 11:27:44 (GMT) |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2010-11-29 23:45:25 (GMT) |
commit | 177feff303538c6cf8caaeb34e5243ca95563e1c (patch) | |
tree | ab6b33b946ae4455dcf82f9bdb0d9f269fcd5261 /board/samsung | |
parent | 98877c3c0efacb5c61068280b6441a61e2dc3a24 (diff) | |
download | u-boot-177feff303538c6cf8caaeb34e5243ca95563e1c.tar.xz |
S5P: goni: 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/goni/goni.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c index 0b09eba..581935d 100644 --- a/board/samsung/goni/goni.c +++ b/board/samsung/goni/goni.c @@ -43,14 +43,20 @@ int board_init(void) int dram_init(void) { + gd->ram_size = PHYS_SDRAM_1_SIZE + PHYS_SDRAM_2_SIZE + + PHYS_SDRAM_3_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; gd->bd->bi_dram[1].start = PHYS_SDRAM_2; gd->bd->bi_dram[1].size = PHYS_SDRAM_2_SIZE; gd->bd->bi_dram[2].start = PHYS_SDRAM_3; gd->bd->bi_dram[2].size = PHYS_SDRAM_3_SIZE; - - return 0; } #ifdef CONFIG_DISPLAY_BOARDINFO |