summaryrefslogtreecommitdiff
path: root/board/renesas/lager/lager.c
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2014-11-10 13:58:50 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-11-17 13:22:28 +0900
commiteeb266ab6c2724f82e59297d53d7ae12fc6c0236 (patch)
tree09bd6bdb98615a06cc74a75a94dde9461377abc5 /board/renesas/lager/lager.c
parent956556fb0e83a336ced39753bac19873fcb46075 (diff)
downloadu-boot-imx-eeb266ab6c2724f82e59297d53d7ae12fc6c0236.zip
u-boot-imx-eeb266ab6c2724f82e59297d53d7ae12fc6c0236.tar.gz
u-boot-imx-eeb266ab6c2724f82e59297d53d7ae12fc6c0236.tar.bz2
arm: rmobile: lager: Remove dram_init_banksize function
Lager board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of dram_init_banksize instead. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'board/renesas/lager/lager.c')
-rw-r--r--board/renesas/lager/lager.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/board/renesas/lager/lager.c b/board/renesas/lager/lager.c
index 99a298a..93273b2 100644
--- a/board/renesas/lager/lager.c
+++ b/board/renesas/lager/lager.c
@@ -93,7 +93,7 @@ DECLARE_GLOBAL_DATA_PTR;
int board_init(void)
{
/* adress of boot parameters */
- gd->bd->bi_boot_params = LAGER_SDRAM_BASE + 0x100;
+ gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
/* Init PFC controller */
r8a7790_pinmux_init();
@@ -174,12 +174,6 @@ const struct rmobile_sysinfo sysinfo = {
CONFIG_RMOBILE_BOARD_STRING
};
-void dram_init_banksize(void)
-{
- gd->bd->bi_dram[0].start = LAGER_SDRAM_BASE;
- gd->bd->bi_dram[0].size = LAGER_SDRAM_SIZE;
-}
-
void reset_cpu(ulong addr)
{
u8 val;