summaryrefslogtreecommitdiff
path: root/util/cbfstool
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2021-01-01 14:08:29 -0600
committerPatrick Georgi <pgeorgi@google.com>2021-01-04 23:12:35 +0000
commit1717231b74ed7aad3e38afb2b3e569fa5459eb3a (patch)
tree98c0a748fc36d4e17187c33d62dc2125701f53bd /util/cbfstool
parent21a9bf81d8f220e0eac52b5ea8365bff1148db15 (diff)
drivers/vpd: Add VPD region to default FMAP when selected
Currently, use of the VPD driver to read VPD tables from flash requires the use of a custom FMAP with one or more VPD regions. Extend this funtionality to boards using the default FMAP by creating a dedicated VPD region when the driver is selected. Test: build qemu target with CONFIG_VPD selected, verify entry added to build/fmap.fmd. Change-Id: Ie9e3c7cf11a6337a43223a6037632a4d9c84d988 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49049 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'util/cbfstool')
-rw-r--r--util/cbfstool/default-x86.fmd1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cbfstool/default-x86.fmd b/util/cbfstool/default-x86.fmd
index 25c5096ae1..41be782046 100644
--- a/util/cbfstool/default-x86.fmd
+++ b/util/cbfstool/default-x86.fmd
@@ -13,6 +13,7 @@ FLASH@##ROM_BASE## ##ROM_SIZE## {
##MRC_CACHE_ENTRY##
##SMMSTORE_ENTRY##
##SPD_CACHE_ENTRY##
+ ##VPD_ENTRY##
FMAP@##FMAP_BASE## ##FMAP_SIZE##
COREBOOT(CBFS)@##CBFS_BASE## ##CBFS_SIZE##
}