summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2023-07-12 16:52:25 -0600
committerMartin L Roth <gaumless@gmail.com>2023-07-14 15:26:22 +0000
commitca75c8f8c185415a7b9f29734db827f779cc84f4 (patch)
treeef0d0120bdcbffcb2fa5121bb6c8d5e8a7993cf7
parenta0bd3e9a972908c428677b2c1541d16ddf9e77a0 (diff)
mb/system76: Fix CBFS_SIZE value
Change `CBFS_SIZE` to match the actual BIOS region size, as specified in the FIT XML config. Fixes building with `VALIDATE_INTEL_DESCRIPTOR` selected. Change-Id: I91a46b3ed6cc3161df27eed19d8cdf2820e90d7e Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76326 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/system76/addw1/Kconfig3
-rw-r--r--src/mainboard/system76/bonw14/Kconfig2
-rw-r--r--src/mainboard/system76/cml-u/Kconfig3
-rw-r--r--src/mainboard/system76/gaze15/Kconfig3
-rw-r--r--src/mainboard/system76/oryp6/Kconfig2
5 files changed, 7 insertions, 6 deletions
diff --git a/src/mainboard/system76/addw1/Kconfig b/src/mainboard/system76/addw1/Kconfig
index d037504f05..0c1c0b3e7c 100644
--- a/src/mainboard/system76/addw1/Kconfig
+++ b/src/mainboard/system76/addw1/Kconfig
@@ -52,7 +52,8 @@ config MAINBOARD_VERSION
default "addw2" if BOARD_SYSTEM76_ADDW2
config CBFS_SIZE
- default 0xA00000
+ default 0xa00000 if BOARD_SYSTEM76_ADDW1
+ default 0xc00000
config CONSOLE_POST
default y
diff --git a/src/mainboard/system76/bonw14/Kconfig b/src/mainboard/system76/bonw14/Kconfig
index 570cb3b28d..32eae45b3d 100644
--- a/src/mainboard/system76/bonw14/Kconfig
+++ b/src/mainboard/system76/bonw14/Kconfig
@@ -39,7 +39,7 @@ config MAINBOARD_VERSION
default "bonw14"
config CBFS_SIZE
- default 0xA00000
+ default 0xc00000
config CONSOLE_POST
default y
diff --git a/src/mainboard/system76/cml-u/Kconfig b/src/mainboard/system76/cml-u/Kconfig
index e8899ac50d..e17bf2cc73 100644
--- a/src/mainboard/system76/cml-u/Kconfig
+++ b/src/mainboard/system76/cml-u/Kconfig
@@ -55,8 +55,7 @@ config MAINBOARD_VERSION
default "lemp9" if BOARD_SYSTEM76_LEMP9
config CBFS_SIZE
- default 0xc00000 if BOARD_SYSTEM76_LEMP9
- default 0xA00000
+ default 0xc00000
config CONSOLE_POST
default y
diff --git a/src/mainboard/system76/gaze15/Kconfig b/src/mainboard/system76/gaze15/Kconfig
index 882992eb27..b77e61a3e6 100644
--- a/src/mainboard/system76/gaze15/Kconfig
+++ b/src/mainboard/system76/gaze15/Kconfig
@@ -49,7 +49,8 @@ config MAINBOARD_VERSION
default "gaze15" if BOARD_SYSTEM76_GAZE15
config CBFS_SIZE
- default 0xA00000
+ default 0xa00000 if BOARD_SYSTEM76_GAZE14
+ default 0xc00000
config CONSOLE_POST
default y
diff --git a/src/mainboard/system76/oryp6/Kconfig b/src/mainboard/system76/oryp6/Kconfig
index 85eb9d1b98..6437e7776d 100644
--- a/src/mainboard/system76/oryp6/Kconfig
+++ b/src/mainboard/system76/oryp6/Kconfig
@@ -50,7 +50,7 @@ config MAINBOARD_VERSION
default "oryp7" if BOARD_SYSTEM76_ORYP7
config CBFS_SIZE
- default 0xA00000
+ default 0xc00000
config CONSOLE_POST
default y