From deab64d2b699ad711c8f7f71b9aae40c7bd31329 Mon Sep 17 00:00:00 2001 From: Ren Kuo Date: Fri, 19 Jul 2019 11:10:10 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/34430 Tested-by: build bot (Jenkins) Reviewed-by: Daisuke Nojiri Reviewed-by: Paul Menzel --- src/mainboard/google/poppy/variants/nami/gpio.c | 2 ++ src/mainboard/google/poppy/variants/nami/include/variant/sku.h | 3 ++- src/mainboard/google/poppy/variants/nami/mainboard.c | 4 ++++ 3 files changed, 8 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3