summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/reef')
-rw-r--r--src/mainboard/google/reef/variants/coral/mainboard.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/mainboard/google/reef/variants/coral/mainboard.c b/src/mainboard/google/reef/variants/coral/mainboard.c
index f2fa30c8fa..8353f6ba6b 100644
--- a/src/mainboard/google/reef/variants/coral/mainboard.c
+++ b/src/mainboard/google/reef/variants/coral/mainboard.c
@@ -18,10 +18,14 @@
#include "baseboard/variants.h"
#include <soc/cpu.h>
#include <soc/intel/apollolake/chip.h>
+#include <soc/intel/common/vbt.h>
enum {
SKU_2_SANTA = 2,
- SKU_3_SANTA = 3
+ SKU_3_SANTA = 3,
+ SKU_160_NASHER = 160,
+ SKU_161_NASHER = 161,
+ SKU_162_NASHER = 162,
};
uint8_t variant_board_sku(void)
@@ -61,3 +65,19 @@ void mainboard_devtree_update(struct device *dev)
break;
}
}
+
+const char *mainboard_vbt_filename(void)
+{
+ int sku_id = variant_board_sku();
+
+ switch (sku_id) {
+ case SKU_160_NASHER:
+ case SKU_161_NASHER:
+ case SKU_162_NASHER:
+ return "vbt-nasher.bin";
+ break;
+ default:
+ return "vbt.bin";
+ break;
+ }
+}