Patrick Georgi submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Paul Menzel: Looks good to me, but someone else must approve Angel Pons: Looks good to me, approved
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>
---
M src/mainboard/hp/compaq_8200_elite_sff/Kconfig
M src/mainboard/hp/z220_sff_workstation/Kconfig
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 e3b2ebd..6734d5b 100644
--- a/src/mainboard/hp/compaq_8200_elite_sff/Kconfig
+++ b/src/mainboard/hp/compaq_8200_elite_sff/Kconfig
@@ -19,6 +19,9 @@
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 dc288d6..8f28baf 100644
--- a/src/mainboard/hp/z220_sff_workstation/Kconfig
+++ b/src/mainboard/hp/z220_sff_workstation/Kconfig
@@ -30,6 +30,9 @@
hex
default 0x2a

+config CBFS_SIZE
+ default 0x570000
+
config MAINBOARD_DIR
string
default "hp/z220_sff_workstation"

To view, visit change 39073. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic1753a38212cc4961671fea11afe88265e73333b
Gerrit-Change-Number: 39073
Gerrit-PatchSet: 4
Gerrit-Owner: Patrick Rudolph <patrick.rudolph@9elements.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged