diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2021-10-17 19:09:31 -0500 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-20 14:50:52 +0000 |
commit | 4afd0915a60eb9f76d0499adf8101ced038ab935 (patch) | |
tree | 7fe23e4b99fe45b554f26810e557da14514acc22 /src/mainboard | |
parent | aeb8b3d4d641565ed8e92efced509483be9cdfab (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')
-rw-r--r-- | src/mainboard/google/drallion/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/google/drallion/default.fmd | 11 |
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) + } + } +} |