diff options
author | David Wu <david_wu@quanta.corp-partner.google.com> | 2021-03-05 18:08:18 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-05-02 21:52:18 +0000 |
commit | 0e351c9607290b72bd024ceef69afe848e0ed6d5 (patch) | |
tree | 977546b5a278d0bf06139819b106710f2dfce117 /src/mainboard | |
parent | edca63e796b04aa8502e88ed957202a8cd0816b0 (diff) |
mb/google/dedede/var/magolor: Support VBT for Magister
Default VBT supports only integrated Display port. Magister supports a
HDMI port and hence support a separate VBT for Magister.
BUG=b:180666608
BRANCH=dedede
TEST=Build and boot to OS.
Cq-Depend: chrome-internal:3661227
Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com>
Change-Id: I52c10452887312959f68cfc4e25d5897dae388f8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51279
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/dedede/variants/magolor/variant.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/magolor/variant.c b/src/mainboard/google/dedede/variants/magolor/variant.c index 68ce6c2316..bb9cf087f6 100644 --- a/src/mainboard/google/dedede/variants/magolor/variant.c +++ b/src/mainboard/google/dedede/variants/magolor/variant.c @@ -1,5 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include <drivers/intel/gma/opregion.h> #include <fw_config.h> #include <sar.h> @@ -10,3 +11,11 @@ const char *get_wifi_sar_cbfs_filename(void) return WIFI_SAR_CBFS_DEFAULT_FILENAME; } + +const char *mainboard_vbt_filename(void) +{ + if (fw_config_probe(FW_CONFIG(DB_PORTS, DB_PORTS_1A_HDMI))) + return "vbt_magister.bin"; + + return "vbt.bin"; +} |