From faafbfb81e28df373d3319a6378e73cb37c9ced3 Mon Sep 17 00:00:00 2001 From: Ivy Jian Date: Mon, 14 May 2018 09:38:20 +0800 Subject: mb/google/poppy/variants/nami: Load pantheon VBT binary Load pantheon.bin by reading sku-id. BUG=b:78663963 TEST=Boots to OS and display comes up. Check the board specific vbt binary loaded. Change-Id: I66cb43d87363b3e8b1a1498cdae8eeeb8b75219d Signed-off-by: Ivy Jian Reviewed-on: https://review.coreboot.org/26267 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Furquan Shaikh --- src/mainboard/google/poppy/variants/nami/include/variant/sku.h | 2 ++ src/mainboard/google/poppy/variants/nami/mainboard.c | 3 +++ 2 files changed, 5 insertions(+) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/poppy/variants/nami/include/variant/sku.h b/src/mainboard/google/poppy/variants/nami/include/variant/sku.h index 3b67b56ad7..aa16999c00 100644 --- a/src/mainboard/google/poppy/variants/nami/include/variant/sku.h +++ b/src/mainboard/google/poppy/variants/nami/include/variant/sku.h @@ -20,5 +20,7 @@ #define SKU_0_NAMI 0x3A7B #define SKU_1_VAYNE 0x3A63 #define SKU_2_VAYNE 0x3A7F +#define SKU_0_PANTHEON 0x3F63 +#define SKU_1_PANTHEON 0x3F67 #endif /* __MAINBOARD_SKU_H__ */ diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c index 01a91663b0..6ff296022b 100644 --- a/src/mainboard/google/poppy/variants/nami/mainboard.c +++ b/src/mainboard/google/poppy/variants/nami/mainboard.c @@ -146,6 +146,9 @@ const char *mainboard_vbt_filename(void) uint32_t sku_id = variant_board_sku(); switch (sku_id) { + case SKU_0_PANTHEON: + case SKU_1_PANTHEON: + return "vbt-pantheon.bin"; default: return "vbt.bin"; break; -- cgit v1.2.3