summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/lite/vboot.fmd
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-07-07 16:52:24 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-07-25 10:07:03 +0000
commit5f40fc61c69f4ad90ee728abe7b974c46076a1a5 (patch)
tree705bfef949794d67ce8d869d7f7bcfd43e381240 /src/mainboard/starlabs/lite/vboot.fmd
parentfb28799ed51134ae4646306d3abe2b7f3287a0e9 (diff)
mb/starlabs/lite: Add support for VBOOT
Add the required files to support VBOOT for when it is enabled. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I083107b21c23f42193fc88aa174ec22850f45bc8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65705 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/starlabs/lite/vboot.fmd')
-rw-r--r--src/mainboard/starlabs/lite/vboot.fmd28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/lite/vboot.fmd b/src/mainboard/starlabs/lite/vboot.fmd
new file mode 100644
index 0000000000..a545ae069d
--- /dev/null
+++ b/src/mainboard/starlabs/lite/vboot.fmd
@@ -0,0 +1,28 @@
+FLASH 8M {
+ # OBBP must be defined to leave space for the partition header
+ OBBP@0x382000 {
+ # The maximum size for the OBB partition is 0x36e000 because
+ # unicorn + fish = cow
+ OBB@0x0 0x36e000 {
+ RO_SECTION@0xe000 0x261800 {
+ FMAP@0x0000 0x10000
+ COREBOOT(CBFS)@0x10000 0x210000
+ GBB@0x220000 0x40000
+ RO_FRID@0x260000 0x40
+ RO_VPD(PRESERVE)@0x260800 0x1000
+ }
+ MISC_RW@0x27e000 0x40000 {
+ FPF_STATUS@0x0 0x10000
+ UNIFIED_MRC_CACHE@0x10000 0x30000 {
+ RECOVERY_MRC_CACHE@0x0 0x10000
+ RW_MRC_CACHE@0x10000 0x10000
+ RW_VAR_MRC_CACHE@0x20000 0x10000
+ }
+ }
+ RW_NVRAM(PRESERVE)@0x2be000 0x6000
+ RW_VPD(PRESERVE)@0x2c4000 0x2000
+ RW_LEGACY(CBFS)@0x2c6000 0x60000
+ SMMSTORE@0x32e000 0x40000
+ }
+ }
+}