From 7a5faf089b455a99f9dd79f734d21d02a1b159a4 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Thu, 22 Sep 2011 08:07:13 +0000 Subject: imx31_litekit: Remove dram_init_banksize() As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c Signed-off-by: Fabio Estevam --- board/logicpd/imx31_litekit/imx31_litekit.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'board/logicpd') diff --git a/board/logicpd/imx31_litekit/imx31_litekit.c b/board/logicpd/imx31_litekit/imx31_litekit.c index 09cc9c5b9c..0402a0b729 100644 --- a/board/logicpd/imx31_litekit/imx31_litekit.c +++ b/board/logicpd/imx31_litekit/imx31_litekit.c @@ -37,12 +37,6 @@ int dram_init(void) return 0; } -void dram_init_banksize(void) -{ - gd->bd->bi_dram[0].start = PHYS_SDRAM_1; - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; -} - int board_early_init_f(void) { __REG(CSCR_U(0)) = 0x0000cf03; /* CS0: Nor Flash */ -- cgit