mb/facebook/monolith: Enable use of VPD
Enable use of VPD for monolith. This will be used to store the UUID and
Serial number.
BUG=N/A
TEST=build
Change-Id: I32b60fef44929c51427a124cbb81e5246db2546c
Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38752
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
diff --git a/src/mainboard/facebook/monolith/Kconfig b/src/mainboard/facebook/monolith/Kconfig
index 203f8a5..b6c9f19 100644
--- a/src/mainboard/facebook/monolith/Kconfig
+++ b/src/mainboard/facebook/monolith/Kconfig
@@ -12,6 +12,7 @@
select MAINBOARD_USES_IFD_GBE_REGION
select INTEL_GMA_HAVE_VBT
select SOC_INTEL_COMMON_BLOCK_LPC_COMB_ENABLE
+ select VPD
config CBFS_SIZE
hex "CBFS_SIZE"
diff --git a/src/mainboard/facebook/monolith/vboot-ro.fmd b/src/mainboard/facebook/monolith/vboot-ro.fmd
index 4abd883..569971a 100644
--- a/src/mainboard/facebook/monolith/vboot-ro.fmd
+++ b/src/mainboard/facebook/monolith/vboot-ro.fmd
@@ -13,12 +13,13 @@
RW_NVRAM(PRESERVE)@0x012000 0x6000
}
WP_RO@0x20000 0x8E0000 {
- RO_SECTION@0x0000 0x8E0000 {
+ RO_VPD(PRESERVE)@0x00000 0x1000
+ RO_SECTION@0x1000 0x8DF000 {
FMAP@0x0 0x800
RO_FRID@0x800 0x40
RO_FRID_PAD@0x840 0x7c0
GBB@0x1000 0x4000
- COREBOOT(CBFS)@0x5000 0x8DB000
+ COREBOOT(CBFS)@0x5000 0x8DA000
}
}
}
diff --git a/src/mainboard/facebook/monolith/vboot-rw.fmd b/src/mainboard/facebook/monolith/vboot-rw.fmd
index df2674b..dc2dadf 100644
--- a/src/mainboard/facebook/monolith/vboot-rw.fmd
+++ b/src/mainboard/facebook/monolith/vboot-rw.fmd
@@ -18,12 +18,13 @@
FW_MAIN_A(CBFS)@0x10040 0x84FFC0
}
WP_RO@0x880000 0x080000 {
- RO_SECTION@0x0000 0x80000 {
+ RO_VPD(PRESERVE)@0x00000 0x1000
+ RO_SECTION@0x1000 0x7F000 {
FMAP@0x0 0x800
RO_FRID@0x800 0x40
RO_FRID_PAD@0x840 0x7c0
GBB@0x1000 0x4000
- COREBOOT(CBFS)@0x5000 0x07B000
+ COREBOOT(CBFS)@0x5000 0x07A000
}
}
}