Patrick Rudolph has uploaded this change for review.

View Change

mb/hp: Set CBFS_SIZE

Overwrite the default of 1 MiB with the actual bios regio 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>
---
M src/mainboard/hp/compaq_8200_elite_sff/Kconfig
M src/mainboard/hp/z220_sff_workstation/Kconfig
2 files changed, 6 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/39073/1
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: 1
Gerrit-Owner: Patrick Rudolph <patrick.rudolph@9elements.com>
Gerrit-MessageType: newchange