From 1f45104d1abf110918a2146c1a28d920aef21de8 Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Mon, 30 Nov 2020 17:31:16 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/48192 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Maulik V Vaghela --- src/mainboard/google/dedede/variants/drawcia/variant.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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 +#include #include #include @@ -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"; +} -- cgit v1.2.3