summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2021-10-07 18:16:17 -0500
committerMartin L Roth <gaumless@gmail.com>2022-12-23 00:35:54 +0000
commit7f2c0bf83835d2010f59f40775649a8ff63c0251 (patch)
treefde142f367eef0f8518a47dd7ae35ae7f3fdd65d /src
parentc5ec497bbcef9c34c8c2fe2ab08504798a7cd376 (diff)
mb/google/sarien: Add default fmap for non-ChromeOS builds
Test: build/boot google/sarien with non-ChromeOS build, edk2 payload. Linux 5.15, Windows 11 tested. Change-Id: Ibc1857e6b120b0bb827ed610981c4d2bf8f78d1f Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58184 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/sarien/Kconfig3
-rw-r--r--src/mainboard/google/sarien/default.fmd11
2 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/sarien/Kconfig b/src/mainboard/google/sarien/Kconfig
index 524025369d..c772d4a1d1 100644
--- a/src/mainboard/google/sarien/Kconfig
+++ b/src/mainboard/google/sarien/Kconfig
@@ -106,4 +106,7 @@ config VBOOT
config INTEL_GMA_VBT_FILE
default "src/mainboard/\$(MAINBOARDDIR)/data.vbt"
+config FMDFILE
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/default.fmd" if !CHROMEOS
+
endif # BOARD_GOOGLE_BASEBOARD_SARIEN
diff --git a/src/mainboard/google/sarien/default.fmd b/src/mainboard/google/sarien/default.fmd
new file mode 100644
index 0000000000..4f2bedf9c2
--- /dev/null
+++ b/src/mainboard/google/sarien/default.fmd
@@ -0,0 +1,11 @@
+FLASH@0xfe000000 0x2000000 {
+ SI_BIOS@0x400000 {
+ MEMORY_MAPPED@0xc00000 { /* 16MiB total */
+ RW_MRC_CACHE 0x10000
+ SMMSTORE 0x40000
+ RO_VPD 0x4000
+ FMAP 0x300
+ COREBOOT(CBFS)
+ }
+ }
+}