From cb67adbef58c4cdd926a330bd70e9994a4c70017 Mon Sep 17 00:00:00 2001 From: Eric Lee Date: Tue, 24 Mar 2020 19:53:56 +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..a9b7f82 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