aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/glk_page_map.txt
diff options
context:
space:
mode:
authorHannah Williams <hannah.williams@intel.com>2018-05-31 19:16:09 -0700
committerMartin Roth <martinroth@google.com>2018-06-03 16:06:46 +0000
commit067d38a7af16bd6ca3add8d806874571fa1151c1 (patch)
tree671a5625a9c8cab8600ea72407e493cc067528d7 /src/soc/intel/apollolake/glk_page_map.txt
parent22e6018b282c9422c9517632045301ce5fa652ec (diff)
soc/intel/apollolake: Add Page table mapping for System Memory
Since we do not know before hand the memory range initialized by FSP memory init until it completes and as memory gets accessed from within FSP memory init to migrate FSP from CAR to memory, we need to add this mapping in coreboot. Change-Id: I1ce2d489240e6e3686ceb7f6e824e5a94398d47e Signed-off-by: Hannah Williams <hannah.williams@intel.com> Reviewed-on: https://review.coreboot.org/26745 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/apollolake/glk_page_map.txt')
-rw-r--r--src/soc/intel/apollolake/glk_page_map.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/glk_page_map.txt b/src/soc/intel/apollolake/glk_page_map.txt
index e4c51b0d50..e96a2db0ea 100644
--- a/src/soc/intel/apollolake/glk_page_map.txt
+++ b/src/soc/intel/apollolake/glk_page_map.txt
@@ -1,3 +1,9 @@
+0x00000000, 0x100000000, WB, # RAM
+# Above entry is needed because below 4G allocated memory range is
+# only known after FSP memory init completes. However, FSP migrates to memory
+# from cache as ram before it exits FSP Memory Init. Hence we need to add
+# page table entries for this entire range before FSP Memory Init. The
+# overlapped MMIO ranges will be overridden by below entries.
0xd0000000, 0x100000000, UC, NX # All of MMIO
# Maximum 16MiB of mmio SPI flash decode.
0xff000000, 0x100000000, WP, # memory-mapped SPI