From 7beba4bebec05d10bfe314e6a47e34d42296a100 Mon Sep 17 00:00:00 2001 From: Eric Lee Date: Thu, 25 Nov 2021 11:49:10 +0800 Subject: [PATCH] Correct U-Boot LPDDR4 4G config setting --- include/configs/smarcimx8mp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/smarcimx8mp.h b/include/configs/smarcimx8mp.h index 6a9eb80..ebb4eae 100644 --- a/include/configs/smarcimx8mp.h +++ b/include/configs/smarcimx8mp.h @@ -243,7 +243,7 @@ #define CONFIG_SYS_SDRAM_BASE 0x40000000 #define PHYS_SDRAM 0x40000000 #ifdef CONFIG_4GB_LPDDR4 -#define PHYS_SDRAM_SIZE 0x80000000 /* 2 GB */ +#define PHYS_SDRAM_SIZE 0xc0000000 /* 3 GB */ #else #define PHYS_SDRAM_SIZE 0xc0000000 /* 3 GB */ #endif @@ -252,7 +252,7 @@ #define PHYS_SDRAM_2_SIZE 0x40000000 /* 1 GB */ #else #ifdef CONFIG_4GB_LPDDR4 -#define PHYS_SDRAM_2_SIZE 0x80000000 /* 2 GB */ +#define PHYS_SDRAM_2_SIZE 0x40000000 /* 1 GB */ #else #define PHYS_SDRAM_2_SIZE 0xc0000000 /* 3 GB */ #endif -- 1.9.1