diff options
author | Devin Lu <devin.lu@quantatw.com> | 2019-03-15 18:06:32 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-03-20 08:52:51 -0700 |
commit | f5e3d45ffc068ef5dcb2d5c265d292b60aab9514 (patch) | |
tree | 75bd9f901875d785781cedf063176f7213396b1b | |
parent | 1638f1643fc91632581f53342cd5667da529c439 (diff) | |
download | chrome-ec-f5e3d45ffc068ef5dcb2d5c265d292b60aab9514.tar.gz |
bloog: Remove support for board version 0
bloog is meep follower, synchronize CL:1525064.
BUG=none
BRANCH=octopus
TEST=make buildall -j
Change-Id: I774ff552db381949e28ba46583a9b5fb23d32c7e
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/1525901
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
-rw-r--r-- | board/bloog/board.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/board/bloog/board.c b/board/bloog/board.c index 3546d7b5a3..ea8b246e89 100644 --- a/board/bloog/board.c +++ b/board/bloog/board.c @@ -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); |