diff options
Diffstat (limited to 'board/morphius/board.c')
-rw-r--r-- | board/morphius/board.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/board/morphius/board.c b/board/morphius/board.c index e88e7c0ed0..043d18e092 100644 --- a/board/morphius/board.c +++ b/board/morphius/board.c @@ -122,26 +122,8 @@ unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors); #endif /* HAS_TASK_MOTIONSENSE */ -/* These GPIOs moved. Temporarily detect and support the V0 HW. */ -enum gpio_signal GPIO_PCH_PWRBTN_L = GPIO_EC_FCH_PWR_BTN_L; -enum gpio_signal GPIO_PCH_SYS_PWROK = GPIO_EC_FCH_PWROK; - void board_update_sensor_config_from_sku(void) { - int data; - - /* - * If the CBI EEPROM is found on the battery I2C port then we are - * running on V0 HW so re-map the GPIOs that moved. - */ - if ((system_get_sku_id() == 0) - && (i2c_read8(I2C_PORT_BATTERY, I2C_ADDR_EEPROM_FLAGS, 0, &data) - == EC_SUCCESS)) { - ccprints("V0 HW detected"); - GPIO_PCH_PWRBTN_L = GPIO_EC_FCH_PWR_BTN_L_V0; - GPIO_PCH_SYS_PWROK = GPIO_EC_FCH_PWROK_V0; - } - /* Enable Gyro interrupts */ gpio_enable_interrupt(GPIO_6AXIS_INT_L); } |