summaryrefslogtreecommitdiff
path: root/board/samsung/goni
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-11-30 21:30:13 +0100
committerWolfgang Denk <wd@denx.de>2010-11-30 21:30:13 +0100
commit52eb2c79110151b9017a0829c4d44ee7b8e2ca04 (patch)
tree755294b3743d6badff1e8ad908b0721c29dc8fc7 /board/samsung/goni
parent998f4caf6fd63fdaa86ab0f91a1a3ed5b9cdfb22 (diff)
parentd3b0d628b08ab999a99c4ee30eaac1406a5d7056 (diff)
downloadu-boot-imx-52eb2c79110151b9017a0829c4d44ee7b8e2ca04.zip
u-boot-imx-52eb2c79110151b9017a0829c4d44ee7b8e2ca04.tar.gz
u-boot-imx-52eb2c79110151b9017a0829c4d44ee7b8e2ca04.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-samsung
Diffstat (limited to 'board/samsung/goni')
-rw-r--r--board/samsung/goni/goni.c10
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