diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2023-04-28 10:21:02 -0500 |
---|---|---|
committer | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2023-05-01 14:47:31 +0000 |
commit | 7e6f323d9891302093617f4d8e55ef6db3bb8b05 (patch) | |
tree | 50728cdd2de91b7fd0e9e4a1799c693738bc35e3 /src/mainboard/google/volteer | |
parent | 71fee41ef5708a917ae7c894cffdc52d798d8dc4 (diff) |
mb/google/volteer: Add VBT data files for variants
Add data.vbt files for all variants supported by current volteer
recovery image. Several boards use the same VBT, so place the "common"
VBT under the baseboard directory and set it as the default.
For variants with a unique VBT, override the default and use the file in
their respective variant directory. Select INTEL_GMA_HAVE_VBT for all
variants which have a VBT file.
TEST=build/boot various volteer variants
Change-Id: I728ab81938c78f600ff8931a8073d1f7de152c09
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74852
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/volteer')
-rw-r--r-- | src/mainboard/google/volteer/Kconfig | 16 | ||||
-rw-r--r-- | src/mainboard/google/volteer/variants/baseboard/data.vbt | bin | 0 -> 8704 bytes | |||
-rw-r--r-- | src/mainboard/google/volteer/variants/elemi/data.vbt | bin | 0 -> 8704 bytes | |||
-rw-r--r-- | src/mainboard/google/volteer/variants/voema/data.vbt | bin | 0 -> 8704 bytes |
4 files changed, 16 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/Kconfig b/src/mainboard/google/volteer/Kconfig index 51210e44ed..c4d6f4a82e 100644 --- a/src/mainboard/google/volteer/Kconfig +++ b/src/mainboard/google/volteer/Kconfig @@ -41,9 +41,11 @@ config BOARD_GOOGLE_BASEBOARD_VOLTEER config BOARD_GOOGLE_DELBIN select BOARD_GOOGLE_BASEBOARD_VOLTEER select DRIVERS_GENESYSLOGIC_GL9755 + select INTEL_GMA_HAVE_VBT config BOARD_GOOGLE_ELDRID select BOARD_GOOGLE_BASEBOARD_VOLTEER + select INTEL_GMA_HAVE_VBT config BOARD_GOOGLE_HALVOR select BOARD_GOOGLE_BASEBOARD_VOLTEER @@ -82,6 +84,7 @@ config BOARD_GOOGLE_VOLTEER2 select BOARD_GOOGLE_BASEBOARD_VOLTEER select DRIVER_I2C_TPM_ACPI select DRIVERS_GENESYSLOGIC_GL9755 + select INTEL_GMA_HAVE_VBT select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES select VARIANT_HAS_MIPI_CAMERA @@ -95,32 +98,40 @@ config BOARD_GOOGLE_VOLTEER2_TI50 config BOARD_GOOGLE_VOXEL select BOARD_GOOGLE_BASEBOARD_VOLTEER select GEO_SAR_ENABLE if CHROMEOS_WIFI_SAR + select INTEL_GMA_HAVE_VBT select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES config BOARD_GOOGLE_ELEMI select BOARD_GOOGLE_BASEBOARD_VOLTEER + select INTEL_GMA_HAVE_VBT config BOARD_GOOGLE_VOEMA select BOARD_GOOGLE_BASEBOARD_VOLTEER + select INTEL_GMA_HAVE_VBT select VARIANT_HAS_MIPI_CAMERA config BOARD_GOOGLE_DROBIT select BOARD_GOOGLE_BASEBOARD_VOLTEER select DRIVERS_GENESYSLOGIC_GL9755 + select INTEL_GMA_HAVE_VBT select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES config BOARD_GOOGLE_COPANO select BOARD_GOOGLE_BASEBOARD_VOLTEER + select INTEL_GMA_HAVE_VBT select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES config BOARD_GOOGLE_COLLIS select BOARD_GOOGLE_BASEBOARD_VOLTEER + select INTEL_GMA_HAVE_VBT config BOARD_GOOGLE_VOLET select BOARD_GOOGLE_BASEBOARD_VOLTEER + select INTEL_GMA_HAVE_VBT config BOARD_GOOGLE_CHRONICLER select BOARD_GOOGLE_BASEBOARD_VOLTEER + select INTEL_GMA_HAVE_VBT if BOARD_GOOGLE_BASEBOARD_VOLTEER @@ -165,6 +176,11 @@ config DRIVER_TPM_I2C_ADDR hex default 0x50 +config INTEL_GMA_VBT_FILE + default "src/mainboard/\$(MAINBOARDDIR)/variants/\$(VARIANT_DIR)/data.vbt" \ + if BOARD_GOOGLE_ELEMI || BOARD_GOOGLE_LINDAR || BOARD_GOOGLE_VOEMA + default "src/mainboard/\$(MAINBOARDDIR)/variants/baseboard/data.vbt" if INTEL_GMA_HAVE_VBT + config MAINBOARD_DIR default "google/volteer" diff --git a/src/mainboard/google/volteer/variants/baseboard/data.vbt b/src/mainboard/google/volteer/variants/baseboard/data.vbt Binary files differnew file mode 100644 index 0000000000..a7cd7da8b6 --- /dev/null +++ b/src/mainboard/google/volteer/variants/baseboard/data.vbt diff --git a/src/mainboard/google/volteer/variants/elemi/data.vbt b/src/mainboard/google/volteer/variants/elemi/data.vbt Binary files differnew file mode 100644 index 0000000000..f3597e289a --- /dev/null +++ b/src/mainboard/google/volteer/variants/elemi/data.vbt diff --git a/src/mainboard/google/volteer/variants/voema/data.vbt b/src/mainboard/google/volteer/variants/voema/data.vbt Binary files differnew file mode 100644 index 0000000000..6242c7fd25 --- /dev/null +++ b/src/mainboard/google/volteer/variants/voema/data.vbt |