summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorRen Kuo <ren.kuo@quanta.corp-partner.google.com>2019-07-19 11:10:10 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-07-25 16:04:51 +0000
commitdeab64d2b699ad711c8f7f71b9aae40c7bd31329 (patch)
treebb4e502fa1cd2774ea07b7b598744005903d2c4c /src/mainboard
parent9777048e9209c1f59d225427b28513984216fd01 (diff)
mb/google/poppy/variant/nami: add sku ids of bard
add two sku ids of bard: 0x1009CE0 0x1009CE2 BUG=b:137892804 TEST=emerge-nami coreboot Change-Id: I299ccb36739d83e38f37e0b2cbba44c34343c975 Signed-off-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34430 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/poppy/variants/nami/gpio.c2
-rw-r--r--src/mainboard/google/poppy/variants/nami/include/variant/sku.h3
-rw-r--r--src/mainboard/google/poppy/variants/nami/mainboard.c4
3 files changed, 8 insertions, 1 deletions
diff --git a/src/mainboard/google/poppy/variants/nami/gpio.c b/src/mainboard/google/poppy/variants/nami/gpio.c
index cd7e0ca0b1..d0f60741e3 100644
--- a/src/mainboard/google/poppy/variants/nami/gpio.c
+++ b/src/mainboard/google/poppy/variants/nami/gpio.c
@@ -470,6 +470,8 @@ const struct pad_config *variant_sku_gpio_table(size_t *num)
case SKU_1_BARD:
case SKU_2_BARD:
case SKU_3_BARD:
+ case SKU_4_BARD:
+ case SKU_5_BARD:
*num = ARRAY_SIZE(fpmcu_gpio_table);
board_gpio_tables = fpmcu_gpio_table;
break;
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 0ec85d0116..63c8928bab 100644
--- a/src/mainboard/google/poppy/variants/nami/include/variant/sku.h
+++ b/src/mainboard/google/poppy/variants/nami/include/variant/sku.h
@@ -48,6 +48,7 @@
#define SKU_1_BARD 0x1009CE3
#define SKU_2_BARD 0x1019CE1
#define SKU_3_BARD 0X1009CE1
-
+#define SKU_4_BARD 0X1009CE0
+#define SKU_5_BARD 0X1009CE2
#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 1ec9e3ae3d..f63c520013 100644
--- a/src/mainboard/google/poppy/variants/nami/mainboard.c
+++ b/src/mainboard/google/poppy/variants/nami/mainboard.c
@@ -212,6 +212,8 @@ const char *mainboard_vbt_filename(void)
case SKU_1_BARD:
case SKU_2_BARD:
case SKU_3_BARD:
+ case SKU_4_BARD:
+ case SKU_5_BARD:
return "vbt-bard.bin";
default:
return "vbt.bin";
@@ -267,6 +269,8 @@ void variant_devtree_update(void)
case SKU_1_BARD:
case SKU_2_BARD:
case SKU_3_BARD:
+ case SKU_4_BARD:
+ case SKU_5_BARD:
case SKU_0_EKKO:
case SKU_1_EKKO:
case SKU_2_EKKO: