Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/35115 )
Change subject: mb/google/poppy/variant/nami: add sku ids of bard/ekko ......................................................................
mb/google/poppy/variant/nami: add sku ids of bard/ekko
add sku ids of bard/ekko
BUG=b:139886622 TEST=emerge-nami coreboot
Change-Id: Iabc3d587c3839e4a3121cea8504c50e2dc4f9699 Signed-off-by: Ren Kuo ren.kuo@quanta.corp-partner.google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/35115 Reviewed-by: Vincent Wang vwang@google.com Reviewed-by: Furquan Shaikh furquan@google.com Reviewed-by: YH Lin yueherngl@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/mainboard/google/poppy/variants/nami/gpio.c M src/mainboard/google/poppy/variants/nami/include/variant/sku.h M src/mainboard/google/poppy/variants/nami/mainboard.c 3 files changed, 30 insertions(+), 10 deletions(-)
Approvals: build bot (Jenkins): Verified Furquan Shaikh: Looks good to me, approved YH Lin: Looks good to me, but someone else must approve Ren Kuo: Looks good to me, approved Vincent Wang: Looks good to me, but someone else must approve
diff --git a/src/mainboard/google/poppy/variants/nami/gpio.c b/src/mainboard/google/poppy/variants/nami/gpio.c index d0f6074..42f84f5 100644 --- a/src/mainboard/google/poppy/variants/nami/gpio.c +++ b/src/mainboard/google/poppy/variants/nami/gpio.c @@ -466,12 +466,18 @@ case SKU_1_EKKO: case SKU_2_EKKO: case SKU_3_EKKO: + case SKU_4_EKKO: + case SKU_5_EKKO: + case SKU_6_EKKO: + case SKU_7_EKKO: case SKU_0_BARD: case SKU_1_BARD: case SKU_2_BARD: case SKU_3_BARD: case SKU_4_BARD: case SKU_5_BARD: + case SKU_6_BARD: + case SKU_7_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 63c8928..7ff3cc7 100644 --- a/src/mainboard/google/poppy/variants/nami/include/variant/sku.h +++ b/src/mainboard/google/poppy/variants/nami/include/variant/sku.h @@ -40,15 +40,21 @@ #define SKU_5_SYNDRA 0X6BC62 #define SKU_6_SYNDRA 0X6BC61 #define SKU_7_SYNDRA 0X6BC60 -#define SKU_0_EKKO 0x10118E3 -#define SKU_1_EKKO 0x10018E3 -#define SKU_2_EKKO 0x10118E1 -#define SKU_3_EKKO 0X10018E1 -#define SKU_0_BARD 0x1019CE3 -#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 +#define SKU_0_EKKO 0x10118E3 +#define SKU_1_EKKO 0x10018E3 +#define SKU_2_EKKO 0x10118E1 +#define SKU_3_EKKO 0X10018E1 +#define SKU_4_EKKO 0x10118E2 +#define SKU_5_EKKO 0x10018E2 +#define SKU_6_EKKO 0x10118E0 +#define SKU_7_EKKO 0x10018E0 +#define SKU_0_BARD 0x1019CE3 +#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 +#define SKU_6_BARD 0x1019CE0 +#define SKU_7_BARD 0x1019CE2
#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 f63c520..e48a952 100644 --- a/src/mainboard/google/poppy/variants/nami/mainboard.c +++ b/src/mainboard/google/poppy/variants/nami/mainboard.c @@ -214,6 +214,8 @@ case SKU_3_BARD: case SKU_4_BARD: case SKU_5_BARD: + case SKU_6_BARD: + case SKU_7_BARD: return "vbt-bard.bin"; default: return "vbt.bin"; @@ -271,10 +273,16 @@ case SKU_3_BARD: case SKU_4_BARD: case SKU_5_BARD: + case SKU_6_BARD: + case SKU_7_BARD: case SKU_0_EKKO: case SKU_1_EKKO: case SKU_2_EKKO: case SKU_3_EKKO: + case SKU_4_EKKO: + case SKU_5_EKKO: + case SKU_6_EKKO: + case SKU_7_EKKO: pl2_id = PL2_ID_BARD_EKKO; cfg->usb2_ports[5].enable = 0; cfg->usb2_ports[7].enable = 0;