mb/google/nightfury: Override VBT selection for nightfury 2nd sku
Override VBT for nightfury SKU_ID = 2 to support different panel. BUG=b:159051021 BRANCH=firmware-hatch-12672.B TEST=Built and verified using different VBT by SKU_ID Change-Id: I9450814aadc43cc7991457c3793f109b889186b9 Signed-off-by: Seunghwan Kim <sh_.kim@samsung.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42904 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Bob Moragues <moragues@google.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
157851fdbb
commit
bc76cf56a4
|
@ -10,3 +10,4 @@ bootblock-y += gpio.c
|
||||||
|
|
||||||
ramstage-y += gpio.c
|
ramstage-y += gpio.c
|
||||||
ramstage-y += ramstage.c
|
ramstage-y += ramstage.c
|
||||||
|
ramstage-y += variant.c
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
|
#include <baseboard/variants.h>
|
||||||
|
#include <chip.h>
|
||||||
|
#include <ec/google/chromeec/ec.h>
|
||||||
|
#include <drivers/intel/gma/opregion.h>
|
||||||
|
|
||||||
|
const char *mainboard_vbt_filename(void)
|
||||||
|
{
|
||||||
|
uint32_t sku_id = google_chromeec_get_board_sku();
|
||||||
|
|
||||||
|
if (sku_id == 2)
|
||||||
|
return "vbt-nightfury-qled.bin";
|
||||||
|
else
|
||||||
|
return "vbt.bin";
|
||||||
|
}
|
Loading…
Reference in New Issue