Commit cb67adbef58c4cdd926a330bd70e9994a4c70017

Authored by Eric Lee
1 parent f5822d3223

Fix 4GB LPDDR4 Support

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

include/configs/smarcimx8mq.h
... ... @@ -244,9 +244,9 @@
244 244 #define CONFIG_SYS_SDRAM_BASE 0x40000000
245 245 #define PHYS_SDRAM 0x40000000
246 246 #ifdef CONFIG_2GB_LPDDR4
247   -#define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */
  247 +#define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */
248 248 #else
249   -#define PHYS_SDRAM_SIZE 0xc0000000 /* 4GB DDR, temporary workaround */
  249 +#define PHYS_SDRAM_SIZE 0x100000000 /* 4GB DDR */
250 250 #endif
251 251 #define CONFIG_NR_DRAM_BANKS 1
252 252