diff options
author | Devin Lu <devin.lu@quantatw.com> | 2020-03-16 09:26:52 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-16 08:54:43 +0000 |
commit | 582595aa0de1d7d8c73f6907e32f3ec9bf70bae8 (patch) | |
tree | 9a880df13ef8e34017d859ffa2668e90e52db8ab | |
parent | 3f7a50967211f3c28309a40f79640da17994c417 (diff) | |
download | chrome-ec-582595aa0de1d7d8c73f6907e32f3ec9bf70bae8.tar.gz |
bipship: add SKU IDs
BUG=b:147021309
BRANCH=octopus
TEST=make buildall -j
Change-Id: Idff9783ff6e1e9dc2bcf99af32333f57967f33ab
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2102836
Reviewed-by: Henry Sun <henrysun@google.com>
Tested-by: Henry Sun <henrysun@google.com>
Commit-Queue: Henry Sun <henrysun@google.com>
(cherry picked from commit 512a11f19e37560f9add73d146a910dd9ac3796b)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2104814
-rw-r--r-- | board/bloog/board.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/board/bloog/board.c b/board/bloog/board.c index 36008c294a..85f2c4a68e 100644 --- a/board/bloog/board.c +++ b/board/bloog/board.c @@ -221,12 +221,13 @@ int board_is_convertible(void) /* * Bloog: 33, 34, 35, 36 * Blooguard: 49, 50, 51, 52 - * Bipship: 53, 54 + * Bipship: 53, 54, 55, 56 * Unprovisioned: 255 */ return sku_id == 33 || sku_id == 34 || sku_id == 35 || sku_id == 36 || sku_id == 49 || sku_id == 50 || sku_id == 51 || sku_id == 52 - || sku_id == 53 || sku_id == 54 || sku_id == 255; + || sku_id == 53 || sku_id == 54 || sku_id == 55 || sku_id == 56 + || sku_id == 255; } static void board_update_sensor_config_from_sku(void) @@ -237,7 +238,8 @@ static void board_update_sensor_config_from_sku(void) gpio_enable_interrupt(GPIO_BASE_SIXAXIS_INT_L); /* Override sensor marix for Bipship. */ - if (sku_id == 53 || sku_id == 54) + if (sku_id == 53 || sku_id == 54 || sku_id == 55 + || sku_id == 56) motion_sensors[LID_ACCEL].rot_standard_ref = &lid_b_cover_ref; } else { @@ -328,7 +330,8 @@ uint32_t board_override_feature_flags0(uint32_t flags0) * Remove keyboard backlight feature for devices that don't support it. */ if (sku_id == 33 || sku_id == 36 || sku_id == 51 || - sku_id == 52 || sku_id == 53 || sku_id == 66 || sku_id == 68) + sku_id == 52 || sku_id == 53 || sku_id == 55 || + sku_id == 66 || sku_id == 68) return (flags0 & ~EC_FEATURE_MASK_0(EC_FEATURE_PWM_KEYB)); else return flags0; |