diff options
author | Sue <sue.chen@quanta.corp-partner.google.com> | 2020-05-28 15:06:55 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-28 14:13:38 +0000 |
commit | 0a719db10733697e845c4c5ca1694e2a94a2ac59 (patch) | |
tree | 17d19255e1086b33470052813ab7a2a2afc3899c /board/bobba/board.c | |
parent | 8d668ef4faf1da7b231ff28183a472fabe1acae0 (diff) | |
download | chrome-ec-0a719db10733697e845c4c5ca1694e2a94a2ac59.tar.gz |
Bobba: New sku id 27 for Sparky360 (no pen)
Add sku id 27 in board_is_convertible to enable convertible function.
BUG=b:144747473
BRANCH=firmware-octopus-11297.B
TEST=make buildall
Change-Id: Ie739199426823efffbbf8918db16797209f05535
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2217606
Reviewed-by: Henry Sun <henrysun@google.com>
Commit-Queue: Henry Sun <henrysun@google.com>
Tested-by: Henry Sun <henrysun@google.com>
Diffstat (limited to 'board/bobba/board.c')
-rw-r--r-- | board/bobba/board.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/board/bobba/board.c b/board/bobba/board.c index be2da463cc..f867fadb66 100644 --- a/board/bobba/board.c +++ b/board/bobba/board.c @@ -242,9 +242,13 @@ unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors); static int board_is_convertible(void) { - /* SKU ID of Bobba360, Sparky360, & unprovisioned: 9, 10, 11, 12, 25, 26, 255 */ + /* + * SKU ID of Bobba360, Sparky360, & unprovisioned: 9, 10, 11, 12, + * 25, 26, 27, 255 + */ return sku_id == 9 || sku_id == 10 || sku_id == 11 || sku_id == 12 - || sku_id == 25 || sku_id == 26 || sku_id == 255; + || sku_id == 25 || sku_id == 26 || sku_id == 27 + || sku_id == 255; } static int board_with_ar_cam(void) |