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>
This commit is contained in:
Karthikeyan Ramasubramanian 2020-11-30 17:31:16 -07:00 committed by Patrick Georgi
parent 291fd9fec9
commit 1f45104d1a

View file

@ -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";
}