summaryrefslogtreecommitdiff
path: root/src/mainboard/google/hatch/variants/nightfury/variant.c
blob: 8fede2c129bb99163087f0d6bf7c2e5c17c939a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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";
}