[U-Boot] [PATCH 3/3] Revert "ARM: DRA7-evm: Update memory info in banks"

Semen Protsenko semen.protsenko at linaro.org
Wed Mar 23 19:43:30 CET 2016


From: Sam Protsenko <semen.protsenko at linaro.org>

This reverts commit d468b1781abe3975fdbc1695ef1fcfb48b01732b.
---
 board/ti/dra7xx/evm.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index eb19a6d..4f60837 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -191,20 +191,6 @@ int board_init(void)
 	return 0;
 }
 
-void dram_init_banksize(void)
-{
-	u64 ram_size;
-
-	ram_size = board_ti_get_emif_size();
-
-	gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
-	gd->bd->bi_dram[0].size = get_effective_memsize();
-	if (ram_size > CONFIG_MAX_MEM_MAPPED) {
-		gd->bd->bi_dram[1].start = 0x200000000;
-		gd->bd->bi_dram[1].size = ram_size - CONFIG_MAX_MEM_MAPPED;
-	}
-}
-
 int board_late_init(void)
 {
 #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
-- 
2.7.0



More information about the U-Boot mailing list