summaryrefslogtreecommitdiff
path: root/board/renesas
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
commit5a290250f72a2eb2855ea70e9114ba63388b288a (patch)
treee8716996baf05c634df348546072b14c8fd408d9 /board/renesas
parenteeb266ab6c2724f82e59297d53d7ae12fc6c0236 (diff)
downloadu-boot-imx-5a290250f72a2eb2855ea70e9114ba63388b288a.zip
u-boot-imx-5a290250f72a2eb2855ea70e9114ba63388b288a.tar.gz
u-boot-imx-5a290250f72a2eb2855ea70e9114ba63388b288a.tar.bz2
arm: rmobile: gose: Remove dram_init_banksize function
Gose 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')
-rw-r--r--board/renesas/gose/gose.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/board/renesas/gose/gose.c b/board/renesas/gose/gose.c
index 2cef701..715fba0 100644
--- a/board/renesas/gose/gose.c
+++ b/board/renesas/gose/gose.c
@@ -93,7 +93,7 @@ void arch_preboot_os(void)
int board_init(void)
{
/* adress of boot parameters */
- gd->bd->bi_boot_params = GOSE_SDRAM_BASE + 0x100;
+ gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
/* Init PFC controller */
r8a7793_pinmux_init();
@@ -161,12 +161,6 @@ const struct rmobile_sysinfo sysinfo = {
CONFIG_RMOBILE_BOARD_STRING
};
-void dram_init_banksize(void)
-{
- gd->bd->bi_dram[0].start = GOSE_SDRAM_BASE;
- gd->bd->bi_dram[0].size = GOSE_SDRAM_SIZE;
-}
-
void reset_cpu(ulong addr)
{
u8 val;