diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2017-08-27 18:46:12 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2017-09-02 14:20:45 +0000 |
commit | aaebb415d77c49a21b8c7c35aa5b2937debeadb0 (patch) | |
tree | 08a1459e2fbcc4d4f48690fa4e6b91319dd2f740 | |
parent | c8c741d9f9e4d9a91ef5b86a10ece56f8cf98a70 (diff) | |
download | coreboot-aaebb415d77c49a21b8c7c35aa5b2937debeadb0.tar.xz |
nb/intel/pineview: Enable dram remapping
Without this remapping code enabled, the system fails to boot properly
if the amount of ram inserted is larger than 4G minus the mmio
space (hardcoded to 1G here).
Change-Id: I02e7ceed0cd9db7eb7182481b6989f80cef31ee5
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/21228
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r-- | src/northbridge/intel/pineview/raminit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/pineview/raminit.c b/src/northbridge/intel/pineview/raminit.c index 9bb8fd8b84..1f038206e9 100644 --- a/src/northbridge/intel/pineview/raminit.c +++ b/src/northbridge/intel/pineview/raminit.c @@ -2046,7 +2046,7 @@ static void sdram_mmap_regs(struct sysinfo *s) reclaim = false; tolud = MIN(0x1000 - mmiosize, tom); if ((tom - tolud) > 0x40) { - // reclaim = true; + reclaim = true; } if (reclaim) { tolud = tolud & ~0x3f; |