From aaebb415d77c49a21b8c7c35aa5b2937debeadb0 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sun, 27 Aug 2017 18:46:12 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/21228 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/northbridge/intel/pineview/raminit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/northbridge') 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; -- cgit v1.2.3