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:
parent
c8c741d9f9
commit
aaebb415d7
@ -2046,7 +2046,7 @@ static void sdram_mmap_regs(struct sysinfo *s)
|
|||||||
reclaim = false;
|
reclaim = false;
|
||||||
tolud = MIN(0x1000 - mmiosize, tom);
|
tolud = MIN(0x1000 - mmiosize, tom);
|
||||||
if ((tom - tolud) > 0x40) {
|
if ((tom - tolud) > 0x40) {
|
||||||
// reclaim = true;
|
reclaim = true;
|
||||||
}
|
}
|
||||||
if (reclaim) {
|
if (reclaim) {
|
||||||
tolud = tolud & ~0x3f;
|
tolud = tolud & ~0x3f;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user