summaryrefslogtreecommitdiff
path: root/board/faraday/a320evb/a320evb.c
diff options
context:
space:
mode:
authorPo-Yu Chuang <ratbert@faraday-tech.com>2010-12-19 23:07:23 +0000
committerAlbert Aribaud <albert.aribaud@free.fr>2011-02-02 00:54:45 +0100
commit5eb522a68c3573419f42e321dccf4b01b584dbe8 (patch)
tree320f158b4d76c655ce23abc0c3187d15dc5b6cdb /board/faraday/a320evb/a320evb.c
parentc9ac3ba129b242b5977b03c17ed8d2f0d000e085 (diff)
downloadu-boot-imx-5eb522a68c3573419f42e321dccf4b01b584dbe8.zip
u-boot-imx-5eb522a68c3573419f42e321dccf4b01b584dbe8.tar.gz
u-boot-imx-5eb522a68c3573419f42e321dccf4b01b584dbe8.tar.bz2
arm: a320evb: fixes for relocation support
* add CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_INIT_SP_ADDR * do not update gd->bd in dram_init() because bd is unavailable then * move CONFIG_SYS_TEXT_BASE from config.mk to a320evb.h * remove config.mk Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
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",