summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvy Jian <ivy_jian@compal.corp-partner.google.com>2018-06-01 15:43:56 +0800
committerMartin Roth <martinroth@google.com>2018-06-03 15:52:42 +0000
commit8bd5c5f42ec68b6b6f753eb795ac37980d30d6f0 (patch)
tree3f39699211579303bb1614f4b3c63fe5254242be
parent3bad8c42ae17ce115a49df360a1f165254263e9a (diff)
downloadcoreboot-8bd5c5f42ec68b6b6f753eb795ac37980d30d6f0.tar.xz
mb/google/poppy/variants/nami: Load vayne VBT binary
Load vbt-vayne.bin by reading sku-id. BUG=b:80509366 TEST=Boots to OS and display comes up. Check the board specific vbt binary loaded. Change-Id: Ia26ea4a9b7679aeb9d98f19ffaa1b686af828339 Signed-off-by: Ivy Jian <ivy_jian@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/26749 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r--src/mainboard/google/poppy/variants/nami/include/variant/sku.h1
-rw-r--r--src/mainboard/google/poppy/variants/nami/mainboard.c4
2 files changed, 5 insertions, 0 deletions
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 aa16999c00..9dfffe15ae 100644
--- a/src/mainboard/google/poppy/variants/nami/include/variant/sku.h
+++ b/src/mainboard/google/poppy/variants/nami/include/variant/sku.h
@@ -18,6 +18,7 @@
#define SKU_UNKNOWN 0xFFFFFFFF
#define SKU_0_NAMI 0x3A7B
+#define SKU_0_VAYNE 0x3A67
#define SKU_1_VAYNE 0x3A63
#define SKU_2_VAYNE 0x3A7F
#define SKU_0_PANTHEON 0x3F63
diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c
index 492167946f..a98d7bfba0 100644
--- a/src/mainboard/google/poppy/variants/nami/mainboard.c
+++ b/src/mainboard/google/poppy/variants/nami/mainboard.c
@@ -166,6 +166,10 @@ const char *mainboard_vbt_filename(void)
case SKU_0_PANTHEON:
case SKU_1_PANTHEON:
return "vbt-pantheon.bin";
+ case SKU_0_VAYNE:
+ case SKU_1_VAYNE:
+ case SKU_2_VAYNE:
+ return "vbt-vayne.bin";
default:
return "vbt.bin";
break;