Commit 5999439f6bef2790462bb0ec936f3a783e3ce4b7

Authored by Eric Lee
1 parent 81e795041d

Fix 4GB LPDDR4 config

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

include/configs/smarcimx8mm.h
... ... @@ -297,12 +297,11 @@
297 297 #define CONFIG_NR_DRAM_BANKS 2
298 298 #else
299 299 #undef PHYS_SDRAM_SIZE
300   -#define PHYS_SDRAM_SIZE 0xC0000000 /* 3GB */
301   -#define PHYS_SDRAM_2 0x100000000
302   -#define PHYS_SDRAM_2_SIZE 0x40000000 /* 1GB */
  300 +#define PHYS_SDRAM_SIZE 0x80000000 /* 2GB */
  301 +#define PHYS_SDRAM_2 0x100000000
  302 +#define PHYS_SDRAM_2_SIZE 0x80000000 /* 2GB */
303 303 #undef CONFIG_NR_DRAM_BANKS
304 304 #define CONFIG_NR_DRAM_BANKS 2
305   -
306 305 #endif
307 306  
308 307 #define CONFIG_SYS_MEMTEST_START PHYS_SDRAM