summaryrefslogtreecommitdiff
path: root/src/mainboard/google/drallion
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2021-10-17 19:09:31 -0500
committerFelix Held <felix-coreboot@felixheld.de>2022-10-20 14:50:52 +0000
commit4afd0915a60eb9f76d0499adf8101ced038ab935 (patch)
tree7fe23e4b99fe45b554f26810e557da14514acc22 /src/mainboard/google/drallion
parentaeb8b3d4d641565ed8e92efced509483be9cdfab (diff)
mb/google/drallion: Add default FMAP for non-ChromeOS builds
Test: build/boot google/drallion with non-ChromeOS build, Tianocore payload. Windows 10, Linux 5.10.x booted successfully Change-Id: I6358b1d5c71eee065fed96b7bca31e37f30d3a8f Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58405 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/drallion')
-rw-r--r--src/mainboard/google/drallion/Kconfig3
-rw-r--r--src/mainboard/google/drallion/default.fmd11
2 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/drallion/Kconfig b/src/mainboard/google/drallion/Kconfig
index 916a235de0..0d31362ac0 100644
--- a/src/mainboard/google/drallion/Kconfig
+++ b/src/mainboard/google/drallion/Kconfig
@@ -89,4 +89,7 @@ config VBOOT
select HAS_RECOVERY_MRC_CACHE
select VBOOT_LID_SWITCH
+config FMDFILE
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/default.fmd" if !CHROMEOS
+
endif # BOARD_GOOGLE_BASEBOARD_DRALLION
diff --git a/src/mainboard/google/drallion/default.fmd b/src/mainboard/google/drallion/default.fmd
new file mode 100644
index 0000000000..4f2bedf9c2
--- /dev/null
+++ b/src/mainboard/google/drallion/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)
+ }
+ }
+}