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>
This commit is contained in:
Arthur Heymans 2017-08-27 18:46:12 +02:00
parent c8c741d9f9
commit aaebb415d7

View File

@ -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;