]> git.sur5r.net Git - u-boot/commitdiff
arm: rmobile: lager: Remove RAM address initialization
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Fri, 31 Oct 2014 07:16:29 +0000 (16:16 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Mon, 3 Nov 2014 23:59:59 +0000 (08:59 +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/lager/lager.c

index 1fc5833ebebb73d99118cca7046951e5eb9b2b55..2bb87108f67c92468a5bccc3f838aed673f1d94d 100644 (file)
@@ -165,7 +165,6 @@ int board_phy_config(struct phy_device *phydev)
 
 int dram_init(void)
 {
-       gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
        gd->ram_size = CONFIG_SYS_SDRAM_SIZE;
 
        return 0;