diff options
author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | 2014-11-10 13:58:50 +0900 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2014-11-17 13:22:27 +0900 |
commit | 4772684c70159c70a742811c14adc1f75b1b5aa1 (patch) | |
tree | e144eea246d941d2ce22b7a72b8ea3125f130d0f /board | |
parent | 62b571a37ea661d7804ea4f99863626a19d77be6 (diff) | |
download | u-boot-4772684c70159c70a742811c14adc1f75b1b5aa1.tar.gz u-boot-4772684c70159c70a742811c14adc1f75b1b5aa1.tar.bz2 u-boot-4772684c70159c70a742811c14adc1f75b1b5aa1.zip |
arm: rmobile: alt: Remove dram_init_banksize function
Alt 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')
-rw-r--r-- | board/renesas/alt/alt.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/board/renesas/alt/alt.c b/board/renesas/alt/alt.c index 039cb376d3..523c5f131f 100644 --- a/board/renesas/alt/alt.c +++ b/board/renesas/alt/alt.c @@ -88,7 +88,7 @@ void arch_preboot_os(void) int board_init(void) { /* adress of boot parameters */ - gd->bd->bi_boot_params = ALT_SDRAM_BASE + 0x100; + gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; /* Init PFC controller */ r8a7794_pinmux_init(); @@ -156,12 +156,6 @@ const struct rmobile_sysinfo sysinfo = { CONFIG_RMOBILE_BOARD_STRING }; -void dram_init_banksize(void) -{ - gd->bd->bi_dram[0].start = ALT_SDRAM_BASE; - gd->bd->bi_dram[0].size = ALT_SDRAM_SIZE; -} - void reset_cpu(ulong addr) { u8 val; |