From e5b64f8c48f711aa5d300e966da12e335633b7ec Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Wed, 16 Aug 2023 13:20:25 -0400 Subject: [PATCH] t430/x230 legacy flash boards: unify so they specify coreboot config files as all other boards (Otherwise, renaming board requires to rename coreboot config file as well since BOARD is used to pick corresponding one when undefined) --- .../UNTESTED_t430-legacy-flash.config | 9 ++++++++- boards/x230-legacy-flash/x230-legacy-flash.config | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/boards/UNTESTED_t430-legacy-flash/UNTESTED_t430-legacy-flash.config b/boards/UNTESTED_t430-legacy-flash/UNTESTED_t430-legacy-flash.config index 78d8bc361..94c748872 100644 --- a/boards/UNTESTED_t430-legacy-flash/UNTESTED_t430-legacy-flash.config +++ b/boards/UNTESTED_t430-legacy-flash/UNTESTED_t430-legacy-flash.config @@ -1,9 +1,16 @@ # Minimal configuration for a t430 to support flashrom and USB +# This top SPI flash image needed to flash legacy board counterpart internally +# This image can be flashed through 1vyrain and skulls +# IDEALLY you should flash maximized top and bottom rom images exteranlly once instead. export CONFIG_COREBOOT=y export CONFIG_COREBOOT_VERSION=4.19 export CONFIG_LINUX_VERSION=5.10.5 +CONFIG_COREBOOT_CONFIG=config/coreboot-x230-legacy-flash.config +CONFIG_LINUX_CONFIG=config/linux-x230-flash.config + +#Add bare minimal tools for flashing boards CONFIG_BASH=n CONFIG_FLASHROM=y #CONFIG_GPG=y @@ -14,7 +21,7 @@ CONFIG_PCIUTILS=y #CONFIG_TPMTOTP=y #CONFIG_DROPBEAR=y -CONFIG_LINUX_CONFIG=config/linux-x230-flash.config +#Additional hardware support CONFIG_LINUX_USB=y #CONFIG_LINUX_E1000E=y diff --git a/boards/x230-legacy-flash/x230-legacy-flash.config b/boards/x230-legacy-flash/x230-legacy-flash.config index 273f4ab04..52eb41f97 100644 --- a/boards/x230-legacy-flash/x230-legacy-flash.config +++ b/boards/x230-legacy-flash/x230-legacy-flash.config @@ -1,9 +1,16 @@ # Minimal configuration for a x230 to support flashrom and USB +# This top SPI flash image needed to flash legacy board counterpart internally +# This image can be flashed through 1vyrain and skulls +# IDEALLY you should flash maximized top and bottom rom images exteranlly once instead. export CONFIG_COREBOOT=y export CONFIG_COREBOOT_VERSION=4.19 export CONFIG_LINUX_VERSION=5.10.5 +CONFIG_COREBOOT_CONFIG=config/coreboot-t430-legacy-flash.config +CONFIG_LINUX_CONFIG=config/linux-x230-flash.config + +#Add bare minimal tools for flashing boards CONFIG_BASH=n CONFIG_FLASHROM=y #CONFIG_GPG=y @@ -14,7 +21,7 @@ CONFIG_PCIUTILS=y #CONFIG_TPMTOTP=y #CONFIG_DROPBEAR=y -CONFIG_LINUX_CONFIG=config/linux-x230-flash.config +#Additional hardware support CONFIG_LINUX_USB=y #CONFIG_LINUX_E1000E=y