diff options
author | Michał Kopeć <michal.kopec@3mdeb.com> | 2023-10-19 16:23:16 +0200 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2024-05-12 18:52:41 +0000 |
commit | c42e28f077cbf108085dff8d847a74d23782d703 (patch) | |
tree | f2804f06a12779c4cd65130c394d2fe20fed6899 | |
parent | 1a395728dfdb6a32757ba7e120eb0e62d503e447 (diff) | |
download | coreboot-c42e28f077cbf108085dff8d847a74d23782d703.tar.gz coreboot-c42e28f077cbf108085dff8d847a74d23782d703.tar.bz2 coreboot-c42e28f077cbf108085dff8d847a74d23782d703.zip |
mb/protectli/vault_cml: use combo v1/v2 FSP
Also switch configs to use combo v1/v2 FSP
The reason for this change is to simplify configuration - instead of
multiple targets for VP4630 and VP4650 or VP4670, it's now possible to
have one target covering all VP46x0.
Change-Id: I1a6f6e873e4ec35b9777dc17c0495151348d1d88
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81963
Reviewed-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r-- | configs/config.protectli_cml_vp46xx (renamed from configs/config.protectli_vp4670) | 2 | ||||
-rw-r--r-- | configs/config.protectli_vp4630_vp4650 | 13 | ||||
-rw-r--r-- | src/mainboard/protectli/vault_cml/Kconfig | 8 | ||||
-rw-r--r-- | src/mainboard/protectli/vault_cml/Kconfig.name | 7 |
4 files changed, 6 insertions, 24 deletions
diff --git a/configs/config.protectli_vp4670 b/configs/config.protectli_cml_vp46xx index a9decdaf6f31..11642325dbba 100644 --- a/configs/config.protectli_vp4670 +++ b/configs/config.protectli_cml_vp46xx @@ -1,5 +1,5 @@ CONFIG_VENDOR_PROTECTLI=y -CONFIG_BOARD_PROTECTLI_VP4670=y +CONFIG_BOARD_PROTECTLI_VP46XX=y CONFIG_TPM_MEASURED_BOOT=y CONFIG_SMMSTORE_SIZE=0x40000 CONFIG_TPM2=y diff --git a/configs/config.protectli_vp4630_vp4650 b/configs/config.protectli_vp4630_vp4650 deleted file mode 100644 index af50a7e12e6d..000000000000 --- a/configs/config.protectli_vp4630_vp4650 +++ /dev/null @@ -1,13 +0,0 @@ -CONFIG_VENDOR_PROTECTLI=y -CONFIG_BOARD_PROTECTLI_VP4630_VP4650=y -CONFIG_TPM_MEASURED_BOOT=y -CONFIG_SMMSTORE_SIZE=0x40000 -CONFIG_TPM2=y -CONFIG_POST_IO_PORT=0x80 -CONFIG_PAYLOAD_EDK2=y -CONFIG_EDK2_BOOT_MANAGER_ESCAPE=y -CONFIG_EDK2_BOOT_TIMEOUT=6 -CONFIG_EDK2_FOLLOW_BGRT_SPEC=y -# CONFIG_EDK2_FULL_SCREEN_SETUP is not set -CONFIG_EDK2_SD_MMC_TIMEOUT=10 -CONFIG_EDK2_SERIAL_SUPPORT=y diff --git a/src/mainboard/protectli/vault_cml/Kconfig b/src/mainboard/protectli/vault_cml/Kconfig index 2389520ef89d..87de08829a8d 100644 --- a/src/mainboard/protectli/vault_cml/Kconfig +++ b/src/mainboard/protectli/vault_cml/Kconfig @@ -1,11 +1,12 @@ ## SPDX-License-Identifier: GPL-2.0-only -if BOARD_PROTECTLI_VP4630_VP4650 || BOARD_PROTECTLI_VP4670 +if BOARD_PROTECTLI_VP46XX config BOARD_SPECIFIC_OPTIONS def_bool y select BOARD_ROMSIZE_KB_16384 select GFX_GMA_IGNORE_PRESENCE_STRAPS + select SOC_INTEL_COMETLAKE_1_2 select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES select HAVE_CMOS_DEFAULT @@ -15,8 +16,6 @@ config BOARD_SPECIFIC_OPTIONS select MAINBOARD_HAS_LIBGFXINIT select MEMORY_MAPPED_TPM select SEABIOS_ADD_SERCON_PORT_FILE if PAYLOAD_SEABIOS - select SOC_INTEL_COMETLAKE_1 if BOARD_PROTECTLI_VP4670 - select SOC_INTEL_COMETLAKE_2 if BOARD_PROTECTLI_VP4630_VP4650 select SOC_INTEL_COMMON_BLOCK_HDA_VERB select SPI_FLASH_MACRONIX select SUPERIO_ITE_IT8784E @@ -25,8 +24,7 @@ config MAINBOARD_DIR default "protectli/vault_cml" config MAINBOARD_PART_NUMBER - default "VP4630/VP4650" if BOARD_PROTECTLI_VP4630_VP4650 - default "VP4670" if BOARD_PROTECTLI_VP4670 + default "VP46XX" config MAINBOARD_FAMILY default "Vault Pro" diff --git a/src/mainboard/protectli/vault_cml/Kconfig.name b/src/mainboard/protectli/vault_cml/Kconfig.name index f0f3257f052c..1aaac81544f1 100644 --- a/src/mainboard/protectli/vault_cml/Kconfig.name +++ b/src/mainboard/protectli/vault_cml/Kconfig.name @@ -1,7 +1,4 @@ ## SPDX-License-Identifier: GPL-2.0-only -config BOARD_PROTECTLI_VP4630_VP4650 - bool "VP4630/VP4650" - -config BOARD_PROTECTLI_VP4670 - bool "VP4670" +config BOARD_PROTECTLI_VP46XX + bool "VP4630/VP4650/VP4670" |