From: Nobuhiro Iwamatsu Date: Mon, 10 Nov 2014 04:58:50 +0000 (+0900) Subject: arm: rmobile: koelsch: Remove dram_init_banksize function X-Git-Tag: KARO-TXA5-2015-06-26~300^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=956556fb0e83a336ced39753bac19873fcb46075;p=karo-tx-uboot.git arm: rmobile: koelsch: Remove dram_init_banksize function Koesch board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of dram_init_banksize instead. Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu --- diff --git a/board/renesas/koelsch/koelsch.c b/board/renesas/koelsch/koelsch.c index 908bc607a2..244bc58633 100644 --- a/board/renesas/koelsch/koelsch.c +++ b/board/renesas/koelsch/koelsch.c @@ -90,7 +90,7 @@ void arch_preboot_os(void) int board_init(void) { /* adress of boot parameters */ - gd->bd->bi_boot_params = KOELSCH_SDRAM_BASE + 0x100; + gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; /* Init PFC controller */ r8a7791_pinmux_init(); @@ -173,12 +173,6 @@ const struct rmobile_sysinfo sysinfo = { CONFIG_RMOBILE_BOARD_STRING }; -void dram_init_banksize(void) -{ - gd->bd->bi_dram[0].start = KOELSCH_SDRAM_BASE; - gd->bd->bi_dram[0].size = KOELSCH_SDRAM_SIZE; -} - void reset_cpu(ulong addr) { u8 val;