summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-q35/vboot-rwa-16M.fmd
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2019-09-13 12:56:14 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-11-06 13:56:49 +0000
commitf8251b98605264f3e353fc7b6146f686ec5295cc (patch)
treefa3c1eae7f75727ec820178e9b5315236616d85b /src/mainboard/emulation/qemu-q35/vboot-rwa-16M.fmd
parentb4741616ea3dc1f0b281376f9c5e0ffe75a1b15b (diff)
downloadcoreboot-f8251b98605264f3e353fc7b6146f686ec5295cc.tar.xz
mb/emulation/qemu: Add VBOOT support
Add VBOOT support for testing purposes. Add a 16 MiB FMAP containing RO + RW_A. Tested on qemu. Change-Id: I4039d77de44ade68c7bc1f8b4b0aa21387c50f8a Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35400 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/emulation/qemu-q35/vboot-rwa-16M.fmd')
-rw-r--r--src/mainboard/emulation/qemu-q35/vboot-rwa-16M.fmd19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-q35/vboot-rwa-16M.fmd b/src/mainboard/emulation/qemu-q35/vboot-rwa-16M.fmd
new file mode 100644
index 0000000000..0d2c9da297
--- /dev/null
+++ b/src/mainboard/emulation/qemu-q35/vboot-rwa-16M.fmd
@@ -0,0 +1,19 @@
+FLASH@0xff000000 0x1000000 {
+ SI_BIOS 0x1000000 {
+ RW_SECTION_A 0x7c0000 {
+ VBLOCK_A 0x10000
+ FW_MAIN_A(CBFS) 0x74ffc0
+ RW_FWID_A 0x40
+ }
+ RW_VPD(PRESERVE) 0x1000
+
+ WP_RO {
+ FMAP 0x800
+ RO_FRID 0x40
+ RO_PADDING 0x7c0
+ RO_VPD(PRESERVE) 0x1000
+ GBB 0x1e000
+ COREBOOT(CBFS)
+ }
+ }
+}