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:
committed by
Patrick Georgi
parent
291fd9fec9
commit
1f45104d1a
@@ -1,6 +1,7 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
#include <bootstate.h>
|
#include <bootstate.h>
|
||||||
|
#include <drivers/intel/gma/opregion.h>
|
||||||
#include <fw_config.h>
|
#include <fw_config.h>
|
||||||
#include <sar.h>
|
#include <sar.h>
|
||||||
|
|
||||||
@@ -13,3 +14,11 @@ const char *get_wifi_sar_cbfs_filename(void)
|
|||||||
|
|
||||||
return filename;
|
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";
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user