mb/google/hatch/var/kindred: Override VBT selection for kled
Override VBT to fix CRC error issue with psr2 panel for kled. Cq-Depend: chrome-internal:2877637 BUG=b:145963505 BRANCH=hatch TEST=FW_NAME=kindred emerge-hatch coreboot chromeos-bootimage Change-Id: If201d449e910f80dc514c142aec4808a44fa31a9 Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40356 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
This commit is contained in:
parent
77410efebf
commit
ffe26b6c1a
|
@ -6,6 +6,7 @@
|
|||
#include <soc/pci_devs.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
#include <sar.h>
|
||||
#include <drivers/intel/gma/opregion.h>
|
||||
|
||||
void variant_devtree_update(void)
|
||||
{
|
||||
|
@ -46,3 +47,13 @@ const char *get_wifi_sar_cbfs_filename(void)
|
|||
filename = "wifi_sar-kled.hex";
|
||||
return filename;
|
||||
}
|
||||
|
||||
const char *mainboard_vbt_filename(void)
|
||||
{
|
||||
uint32_t sku_id = google_chromeec_get_board_sku();
|
||||
|
||||
if (sku_id == 1 || sku_id == 2 || sku_id == 3 || sku_id == 4)
|
||||
return "vbt-kled.bin";
|
||||
else
|
||||
return "vbt.bin";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue