diff options
author | James_Chao <james_chao@asus.corp-partner.google.com> | 2018-11-14 14:43:32 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-11-15 02:16:54 -0800 |
commit | 58293002bc7961408f720cffc136271452a3b91c (patch) | |
tree | cc0c64e1d38b1d748d03c81e602956ddf4540d2f | |
parent | 7e8a66ac372153809bb2955f0765a316ec5696e9 (diff) | |
download | chrome-ec-58293002bc7961408f720cffc136271452a3b91c.tar.gz |
Ampton: add sku id for convertible sku
According to b:112290350, the convertible sku is 1,2,3,4
BUG=b:112290350
BRANCH=none
TEST=build
Change-Id: I2de55eb070741f3a0058fd390f897a863562f762
Signed-off-by: James_Chao <james_chao@asus.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/1335290
Commit-Ready: James Chao <james_chao@asus.corp-partner.google.com>
Tested-by: James Chao <james_chao@asus.corp-partner.google.com>
Reviewed-by: James Chao <james_chao@asus.corp-partner.google.com>
Reviewed-by: Jett Rink <jettrink@chromium.org>
-rw-r--r-- | board/ampton/board.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/board/ampton/board.c b/board/ampton/board.c index 9282df416f..ed011568c6 100644 --- a/board/ampton/board.c +++ b/board/ampton/board.c @@ -207,8 +207,9 @@ unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors); static int board_is_convertible(void) { - /* SKU IDs of Ampton & unprovisioned: 1, 2, 255 */ - return sku_id == 1 || sku_id == 2 || sku_id == 255; + /* SKU IDs of Ampton & unprovisioned: 1, 2, 3, 4, 255 */ + return sku_id == 1 || sku_id == 2 || sku_id == 3 || sku_id == 4 + || sku_id == 255; } static void board_update_sensor_config_from_sku(void) |