[PATCH 4/9] include: configs: phycore-imx8mm: Do not use macro for address

Teresa Remmet t.remmet at phytec.de
Wed Oct 6 11:56:49 CEST 2021


Do not use size macros for addesses. So convert PHYS_SDRAM to address.
No functional change.

Signed-off-by: Teresa Remmet <t.remmet at phytec.de>
---
 include/configs/phycore_imx8mm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/phycore_imx8mm.h b/include/configs/phycore_imx8mm.h
index b13787bc2471..e74f2b27954f 100644
--- a/include/configs/phycore_imx8mm.h
+++ b/include/configs/phycore_imx8mm.h
@@ -91,7 +91,7 @@
 
 #define CONFIG_SYS_SDRAM_BASE		0x40000000
 
-#define PHYS_SDRAM			SZ_1G
+#define PHYS_SDRAM			0x40000000
 #define PHYS_SDRAM_SIZE                 SZ_2G /* 2GB DDR */
 
 /* UART */
-- 
2.25.1



More information about the U-Boot mailing list