summaryrefslogtreecommitdiff
path: root/board/faraday/a320evb/a320evb.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/faraday/a320evb/a320evb.c')
-rw-r--r--board/faraday/a320evb/a320evb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/faraday/a320evb/a320evb.c b/board/faraday/a320evb/a320evb.c
index 85b11b9..b9343e4 100644
--- a/board/faraday/a320evb/a320evb.c
+++ b/board/faraday/a320evb/a320evb.c
@@ -46,8 +46,7 @@ int dram_init(void)
actual_size = get_ram_size((void *)sdram_base, expected_size);
- gd->bd->bi_dram[0].start = sdram_base;
- gd->bd->bi_dram[0].size = actual_size;
+ gd->ram_size = actual_size;
if (expected_size != actual_size)
printf("Warning: Only %lu of %lu MiB SDRAM is working\n",