diff options
author | Edward Hill <ecgh@chromium.org> | 2020-03-27 20:11:43 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-28 19:29:53 +0000 |
commit | 9f3ade325ef2111c078009e2d223e33f1abac871 (patch) | |
tree | a2a54fe4f069faee1b531c797d646e0a8273a479 /board/ezkinil/board.c | |
parent | 522979dc23224b7c1f9d4e844f4965cc17854fdd (diff) | |
download | chrome-ec-9f3ade325ef2111c078009e2d223e33f1abac871.tar.gz |
Morphius/Ezkinil: Remove Trembyle V0 HW support.
BUG=none
BRANCH=none
TEST=none
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: I618a0ca9de0e767f47084527a11b56e10210223b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2125587
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'board/ezkinil/board.c')
-rw-r--r-- | board/ezkinil/board.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/board/ezkinil/board.c b/board/ezkinil/board.c index 7a23f5cde3..917d081640 100644 --- a/board/ezkinil/board.c +++ b/board/ezkinil/board.c @@ -120,26 +120,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() == 0x7fffffff) - && (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); } |