From cd9622e0396119653513df8a02c5885e1f81c273 Mon Sep 17 00:00:00 2001 From: Eric Lee Date: Tue, 24 Mar 2020 19:26:16 +0800 Subject: [PATCH] Fix 4GB LPDDR4 Support --- include/configs/smarcimx8mq.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/smarcimx8mq.h b/include/configs/smarcimx8mq.h index 1789cd7..1cc8d04 100644 --- a/include/configs/smarcimx8mq.h +++ b/include/configs/smarcimx8mq.h @@ -244,9 +244,9 @@ #define CONFIG_SYS_SDRAM_BASE 0x40000000 #define PHYS_SDRAM 0x40000000 #ifdef CONFIG_2GB_LPDDR4 -#define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ +#define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ #else -#define PHYS_SDRAM_SIZE 0xc0000000 /* 4GB DDR, temporary workaround */ +#define PHYS_SDRAM_SIZE 0x100000000 /* 4GB DDR */ #endif #define CONFIG_NR_DRAM_BANKS 1 -- 1.9.1