summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2020-11-30 17:31:16 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-12-02 10:42:52 +0000
commit1f45104d1abf110918a2146c1a28d920aef21de8 (patch)
tree3d0c0c27e973be1ba3f3f85ccbfb53009b383fcc /src/mainboard/google
parent291fd9fec9f608fca4b8fde7509eab32c66c6d53 (diff)
mb/google/dedede/var/drawcia: Support VBT for Drawman
Default VBT supports only integrated Display port. Drawman supports a HDMI port and hence support a separate VBT for Drawman. BUG=b:161190931 BRANCH=dedede TEST=Build and boot to OS in Drawlat and Drawman. Cq-Depend: TBD Change-Id: I8895cc67d87428eddb31328f1e3a90c346b54533 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48192 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/dedede/variants/drawcia/variant.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/drawcia/variant.c b/src/mainboard/google/dedede/variants/drawcia/variant.c
index 88e9de7eb9..b5effbbfc5 100644
--- a/src/mainboard/google/dedede/variants/drawcia/variant.c
+++ b/src/mainboard/google/dedede/variants/drawcia/variant.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bootstate.h>
+#include <drivers/intel/gma/opregion.h>
#include <fw_config.h>
#include <sar.h>
@@ -13,3 +14,11 @@ const char *get_wifi_sar_cbfs_filename(void)
return filename;
}
+
+const char *mainboard_vbt_filename(void)
+{
+ if (fw_config_probe(FW_CONFIG(DB_PORTS, DB_PORTS_1A_HDMI)))
+ return "vbt_drawman.bin";
+
+ return "vbt.bin";
+}