Frans Hendriks has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33484
Change subject: mainboard/facebook/fbg1701: Add FMAP file ......................................................................
mainboard/facebook/fbg1701: Add FMAP file
No FMAP file is availabe for this mainboard. Add fmap.fmd and add file location to Kconfig
BUG=N/A TEST=Boot Embedded Linux 4.20 and verify logging on Facebook FBG-1701
Change-Id: Iecfae4573100c6787b6e8b1c4f2583a7fb3d95a3 Signed-off-by: Frans Hendriks fhendriks@eltan.com --- M src/mainboard/facebook/fbg1701/Kconfig A src/mainboard/facebook/fbg1701/fmap.fmd 2 files changed, 25 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/33484/1
diff --git a/src/mainboard/facebook/fbg1701/Kconfig b/src/mainboard/facebook/fbg1701/Kconfig index 3f45194..801a99a 100644 --- a/src/mainboard/facebook/fbg1701/Kconfig +++ b/src/mainboard/facebook/fbg1701/Kconfig @@ -70,6 +70,10 @@ hex default 0x08000
+config FMDFILE + string + default "$(top)/src/mainboard/$(CONFIG_MAINBOARD_DIR)/fmap.fmd" + config FSP_LOC hex default 0xfff9c000 diff --git a/src/mainboard/facebook/fbg1701/fmap.fmd b/src/mainboard/facebook/fbg1701/fmap.fmd new file mode 100644 index 0000000..dca6838 --- /dev/null +++ b/src/mainboard/facebook/fbg1701/fmap.fmd @@ -0,0 +1,21 @@ +# layout for firmware residing at top of 4GB address space +# +-------------+ <-- 4GB - ROM_SIZE / start of flash +# | unspecified | +# +-------------+ <-- 4GB - BIOS_SIZE +# | FMAP | +# +-------------+ <-- 4GB - BIOS_SIZE + FMAP_SIZE +# | CBFS | +# +-------------+ <-- 4GB / end of flash + +FLASH@0xFF800000 0x800000 { + SI_ALL@0x0 0x200000 { + SI_DESC@0x0 0x1000 + SI_ME@0x1000 0x1ff000 + } + BIOS@0x200000 0x600000 { + FMAP@0 0x200 + RW_MRC_CACHE@0x200 0x8000 + + COREBOOT(CBFS)@0x8200 0x5F7E00 + } +}