[PATCH 4/6] arm: highbank: Remove artificial SDRAM size
Andre Przywara
andre.przywara at arm.com
Mon Apr 12 02:04:53 CEST 2021
So far we were defining a somewhat confusing PHYS_SDRAM_1_SIZE variable,
which originally was only used for setting the memtest boundaries. This
definition in highbank.h has been removed about a year ago (moved to
Kconfig), so we also don't need the hard-coded size definition any longer.
Get rid of the misleading memory size definition, which was actually wrong
anyway (it's 4088 MB for those machines with just 4GB of DRAM).
Signed-off-by: Andre Przywara <andre.przywara at arm.com>
---
include/configs/highbank.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/include/configs/highbank.h b/include/configs/highbank.h
index fbd26ddd0fc..ff92c4f5540 100644
--- a/include/configs/highbank.h
+++ b/include/configs/highbank.h
@@ -39,12 +39,6 @@
#define CONFIG_SYS_LOAD_ADDR 0x800000
#define CONFIG_SYS_64BIT_LBA
-/*-----------------------------------------------------------------------
- * Physical Memory Map
- * The DRAM is already setup, so do not touch the DT node later.
- */
-#define PHYS_SDRAM_1_SIZE (4089 << 20)
-
/* Environment data setup
*/
#define CONFIG_SYS_NVRAM_BASE_ADDR 0xfff88000 /* NVRAM base address */
--
2.17.5
More information about the U-Boot
mailing list