mb/google/sarien: Swap FMAP location for RW_LEGACY and NVRAM

The Intel SOC can only shadow the top 16MB of SPI into memory so
in order to make it easier to access the NVRAM region with memory
mapped interface move it above the much larger RW_LEGACY region.

I tested to confirm that this region can now be read via MMIO
interface and does not need to use the hwseq SPI controller.

Change-Id: Iafacb01eec07beaf474b6a1f2b36a77117e327da
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/31436
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
This commit is contained in:
Duncan Laurie 2019-02-15 08:31:48 -08:00 committed by Patrick Georgi
parent 2cb7de09b2
commit cd7873a28a
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ FLASH@0xfe000000 0x2000000 {
} }
SI_BIOS@0x400000 0x1c00000 { SI_BIOS@0x400000 0x1c00000 {
RW_DIAG@0x0 0x12d0000 { RW_DIAG@0x0 0x12d0000 {
DIAG_NVRAM@0x0 0x10000 RW_LEGACY(CBFS)@0x0 0x12c0000
RW_LEGACY(CBFS)@0x10000 0x12c0000 DIAG_NVRAM@0x12c0000 0x10000
} }
RW_SECTION_A@0x12d0000 0x280000 { RW_SECTION_A@0x12d0000 0x280000 {
VBLOCK_A@0x0 0x10000 VBLOCK_A@0x0 0x10000