From ca75c8f8c185415a7b9f29734db827f779cc84f4 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Wed, 12 Jul 2023 16:52:25 -0600 Subject: mb/system76: Fix CBFS_SIZE value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76326 Reviewed-by: Kyösti Mälkki Tested-by: build bot (Jenkins) --- src/mainboard/system76/addw1/Kconfig | 3 ++- src/mainboard/system76/bonw14/Kconfig | 2 +- src/mainboard/system76/cml-u/Kconfig | 3 +-- src/mainboard/system76/gaze15/Kconfig | 3 ++- src/mainboard/system76/oryp6/Kconfig | 2 +- 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 -- cgit v1.2.3