arm: rmobile: alt: Remove RAM address initialization
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Fri, 31 Oct 2014 07:16:31 +0000 (16:16 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 4 Nov 2014 00:00:40 +0000 (09:00 +0900)
Since board info structure is not still set up, the setting of RAM
address causes illegal access.
Therefore the setting of RAM address is removed.

Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
board/renesas/alt/alt.c

index 9d8e8f96be8f1685b3bbbf89127038bbfeab4a59..b668bf6e9714f324c0b2861036407e1a1a78b2d1 100644 (file)
@@ -140,7 +140,6 @@ int board_eth_init(bd_t *bis)
 
 int dram_init(void)
 {
-       gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
        gd->ram_size = CONFIG_SYS_SDRAM_SIZE;
 
        return 0;