Attention is currently required from: Tarun Tuli.
Tony Huang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/74262 )
Change subject: mb/google/nissa/var/yaviks: Select VBT based on FW_CONFIG for yavilla ......................................................................
mb/google/nissa/var/yaviks: Select VBT based on FW_CONFIG for yavilla
Select hdmi vbt bin files based on MB_HDMI field of FW_CONFIG.
BUG=b:277148122 TEST=emerge-nissa coreboot
Change-Id: I210003c27c83155dd5a768c1a6cdcfd8c849d256 Signed-off-by: Tony Huang tony-huang@quanta.corp-partner.google.com --- M src/mainboard/google/brya/variants/yaviks/variant.c 1 file changed, 27 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/62/74262/1
diff --git a/src/mainboard/google/brya/variants/yaviks/variant.c b/src/mainboard/google/brya/variants/yaviks/variant.c index 7010520..265a544 100644 --- a/src/mainboard/google/brya/variants/yaviks/variant.c +++ b/src/mainboard/google/brya/variants/yaviks/variant.c @@ -2,7 +2,9 @@
#include <baseboard/variants.h> #include <boardid.h> +#include <console/console.h> #include <device/device.h> +#include <drivers/intel/gma/opregion.h> #include <fw_config.h> #include <sar.h>
@@ -14,6 +16,16 @@ return NULL; }
+const char *mainboard_vbt_filename(void) +{ + if (fw_config_probe(FW_CONFIG(MB_HDMI, HDMI_PRESENT))) { + printk(BIOS_INFO, "Use vbt-yavilla.bin\n"); + return "vbt-yavilla.bin"; + } + printk(BIOS_INFO, "Use vbt.bin\n"); + return "vbt.bin"; +} + void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config) { const uint32_t id = board_id();