bloog: Remove support for board version 0
bloog is meep follower, synchronize CL:1525064.
BRANCH=octopus
TEST=make buildall -j
@@ -215,18 +215,6 @@ int board_is_convertible(void)
return sku_id == 255;
}
-static void board_update_gpio_from_board_id(uint32_t board_id)
-{
- if (board_id == 0) {
- /*
- * USB2_OTG_ID is 1.8V pin on the SoC side with an internal
- * pull-up. However, it is 3.3V on the EC side. So, configure
- * it as ODR so that the EC never drives it high.
- */
- gpio_set_flags(GPIO_USB_C0_PD_RST, GPIO_ODR_LOW);
- }
-}
-
static void board_update_sensor_config_from_sku(void)
{
if (board_is_convertible()) {
@@ -250,9 +238,6 @@ static void cbi_init(void)
sku_id = val;
ccprints("SKU: 0x%04x", sku_id);
- if (cbi_get_board_version(&val) == EC_SUCCESS)
- board_update_gpio_from_board_id(val);
-
board_update_sensor_config_from_sku();
}
DECLARE_HOOK(HOOK_INIT, cbi_init, HOOK_PRIO_INIT_I2C + 1);
