Commit cd9622e0396119653513df8a02c5885e1f81c273
1 parent
6bec29f04e
Exists in
smarc-8m-p9.0.0_2.0.0_ga
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 |