summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2020-02-22 10:24:09 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-02-25 11:11:28 +0000
commite53f8c902535bf979f9549e09d5ecf4b8d922019 (patch)
tree177486ed19f9b426dc9f699f2cec8f7bf5c40572
parent68bb307418a691359bddb801a7b7a2c48c5c1297 (diff)
mb/hp: Set CBFS_SIZE
Overwrite the default of 1 MiB with the actual bios region size set in the stock IFD. Allows to use payloads like TianoCore without manually touching the CBFS_SIZE. Change-Id: Ic1753a38212cc4961671fea11afe88265e73333b Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39073 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/hp/compaq_8200_elite_sff/Kconfig3
-rw-r--r--src/mainboard/hp/z220_sff_workstation/Kconfig3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/hp/compaq_8200_elite_sff/Kconfig b/src/mainboard/hp/compaq_8200_elite_sff/Kconfig
index e3b2ebd1f9..6734d5bf2a 100644
--- a/src/mainboard/hp/compaq_8200_elite_sff/Kconfig
+++ b/src/mainboard/hp/compaq_8200_elite_sff/Kconfig
@@ -19,6 +19,9 @@ config BOARD_SPECIFIC_OPTIONS
select INTEL_GMA_HAVE_VBT
select MAINBOARD_USES_IFD_GBE_REGION
+config CBFS_SIZE
+ default 0x2F0000
+
config MAINBOARD_DIR
string
default "hp/compaq_8200_elite_sff"
diff --git a/src/mainboard/hp/z220_sff_workstation/Kconfig b/src/mainboard/hp/z220_sff_workstation/Kconfig
index dc288d6940..8f28baf82d 100644
--- a/src/mainboard/hp/z220_sff_workstation/Kconfig
+++ b/src/mainboard/hp/z220_sff_workstation/Kconfig
@@ -30,6 +30,9 @@ config VBOOT_VBNV_OFFSET
hex
default 0x2a
+config CBFS_SIZE
+ default 0x570000
+
config MAINBOARD_DIR
string
default "hp/z220_sff_workstation"