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>
This commit is contained in:
Ren Kuo 2019-07-19 11:10:10 +08:00 committed by Patrick Georgi
parent 9777048e92
commit deab64d2b6
3 changed files with 8 additions and 1 deletions

View File

@ -470,6 +470,8 @@ const struct pad_config *variant_sku_gpio_table(size_t *num)
case SKU_1_BARD: case SKU_1_BARD:
case SKU_2_BARD: case SKU_2_BARD:
case SKU_3_BARD: case SKU_3_BARD:
case SKU_4_BARD:
case SKU_5_BARD:
*num = ARRAY_SIZE(fpmcu_gpio_table); *num = ARRAY_SIZE(fpmcu_gpio_table);
board_gpio_tables = fpmcu_gpio_table; board_gpio_tables = fpmcu_gpio_table;
break; break;

View File

@ -48,6 +48,7 @@
#define SKU_1_BARD 0x1009CE3 #define SKU_1_BARD 0x1009CE3
#define SKU_2_BARD 0x1019CE1 #define SKU_2_BARD 0x1019CE1
#define SKU_3_BARD 0X1009CE1 #define SKU_3_BARD 0X1009CE1
#define SKU_4_BARD 0X1009CE0
#define SKU_5_BARD 0X1009CE2
#endif /* __MAINBOARD_SKU_H__ */ #endif /* __MAINBOARD_SKU_H__ */

View File

@ -212,6 +212,8 @@ const char *mainboard_vbt_filename(void)
case SKU_1_BARD: case SKU_1_BARD:
case SKU_2_BARD: case SKU_2_BARD:
case SKU_3_BARD: case SKU_3_BARD:
case SKU_4_BARD:
case SKU_5_BARD:
return "vbt-bard.bin"; return "vbt-bard.bin";
default: default:
return "vbt.bin"; return "vbt.bin";
@ -267,6 +269,8 @@ void variant_devtree_update(void)
case SKU_1_BARD: case SKU_1_BARD:
case SKU_2_BARD: case SKU_2_BARD:
case SKU_3_BARD: case SKU_3_BARD:
case SKU_4_BARD:
case SKU_5_BARD:
case SKU_0_EKKO: case SKU_0_EKKO:
case SKU_1_EKKO: case SKU_1_EKKO:
case SKU_2_EKKO: case SKU_2_EKKO: