Commit 7beba4bebec05d10bfe314e6a47e34d42296a100

Authored by Eric Lee
1 parent 57e535649c

Correct U-Boot LPDDR4 4G config setting

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

include/configs/smarcimx8mp.h
... ... @@ -243,7 +243,7 @@
243 243 #define CONFIG_SYS_SDRAM_BASE 0x40000000
244 244 #define PHYS_SDRAM 0x40000000
245 245 #ifdef CONFIG_4GB_LPDDR4
246   -#define PHYS_SDRAM_SIZE 0x80000000 /* 2 GB */
  246 +#define PHYS_SDRAM_SIZE 0xc0000000 /* 3 GB */
247 247 #else
248 248 #define PHYS_SDRAM_SIZE 0xc0000000 /* 3 GB */
249 249 #endif
... ... @@ -252,7 +252,7 @@
252 252 #define PHYS_SDRAM_2_SIZE 0x40000000 /* 1 GB */
253 253 #else
254 254 #ifdef CONFIG_4GB_LPDDR4
255   -#define PHYS_SDRAM_2_SIZE 0x80000000 /* 2 GB */
  255 +#define PHYS_SDRAM_2_SIZE 0x40000000 /* 1 GB */
256 256 #else
257 257 #define PHYS_SDRAM_2_SIZE 0xc0000000 /* 3 GB */
258 258 #endif