summaryrefslogtreecommitdiff
path: root/board/keymile/km_arm
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2012-08-09 01:37:47 +0000
committerPrafulla Wadaskar <prafulla@marvell.com>2012-09-03 17:38:54 +0530
commitfcca7e7acc56fc39fedb6a080e6b92aeff647dac (patch)
treed0fc513ab49aaca27b43601ad1a75f9a99d18cb7 /board/keymile/km_arm
parent05c8e81fd39c8a41c2038844868a491003bcdab8 (diff)
downloadu-boot-imx-fcca7e7acc56fc39fedb6a080e6b92aeff647dac.zip
u-boot-imx-fcca7e7acc56fc39fedb6a080e6b92aeff647dac.tar.gz
u-boot-imx-fcca7e7acc56fc39fedb6a080e6b92aeff647dac.tar.bz2
arm/km: remove unused code
For some reasons we had an own implementaion of dram_init and dram_init_banksize. This is not needed anymore, use the standard kirkwood functions instead. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Gerlando Falauto <gerlando.falauto@keymile.com> Acked-By: Prafulla Wadaskar <prafulla@marvell.com>
Diffstat (limited to 'board/keymile/km_arm')
-rw-r--r--board/keymile/km_arm/km_arm.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c
index 930c80e..be8f51c 100644
--- a/board/keymile/km_arm/km_arm.c
+++ b/board/keymile/km_arm/km_arm.c
@@ -331,26 +331,6 @@ void board_spi_release_bus(struct spi_slave *slave)
kw_gpio_set_value(KM_FLASH_GPIO_PIN, 1);
}
-int dram_init(void)
-{
- /* dram_init must store complete ramsize in gd->ram_size */
- /* Fix this */
- gd->ram_size = get_ram_size((void *)kw_sdram_bar(0),
- kw_sdram_bs(0));
- return 0;
-}
-
-void dram_init_banksize(void)
-{
- int i;
-
- for (i = 0; i < CONFIG_NR_DRAM_BANKS; i++) {
- gd->bd->bi_dram[i].start = kw_sdram_bar(i);
- gd->bd->bi_dram[i].size = get_ram_size((long *)kw_sdram_bar(i),
- kw_sdram_bs(i));
- }
-}
-
#if (defined(CONFIG_KM_PIGGY4_88E6061))
#define PHY_LED_SEL_REG 0x18