diff options
author | Wisley Chen <wisley.chen@quanta.corp-partner.google.com> | 2019-08-21 21:50:01 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-22 05:17:42 +0000 |
commit | 50ca8d5e647b7002650eda35dbc829c42f978bb6 (patch) | |
tree | b26420c23702a6bbbb6b1a5d02577518a2aaf3c1 /board | |
parent | 4ad4225c1cfdf015ea82158aea7eb44937382460 (diff) | |
download | chrome-ec-50ca8d5e647b7002650eda35dbc829c42f978bb6.tar.gz |
vortininja: Add vortininja in convertible list
Vortininja is convertible SKU, so add Vortininja SKU id in convertible list
BUG=b:138177049
BRANCH=octopus
TEST=make buildall -j
Change-Id: Id1040797e11320c7d67be87136d34327ceab09f4
Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1763889
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Reviewed-by: Marco Chen <marcochen@chromium.org>
Tested-by: Devin Lu <Devin.Lu@quantatw.com>
Tested-by: Justin TerAvest <teravest@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/meep/board.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/board/meep/board.c b/board/meep/board.c index 6c17681eeb..edd370fcc9 100644 --- a/board/meep/board.c +++ b/board/meep/board.c @@ -210,12 +210,13 @@ unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors); /* * meep is convertible SKU (SKU ID is 1, 2, 3), mimrock is clamshell - * SKU (SKU ID is 17, 18) and default SKU is 255 for factory that enable - * all sensors. + * SKU (SKU ID is 17, 18), vortininja is convertible SKU (SKU ID is 4, 5, 6, 7) + * and default SKU is 255 for factory that enable all sensors. */ int board_is_convertible(void) { - return sku_id == 1 || sku_id == 2 || sku_id == 3 || sku_id == 255; + return sku_id == 1 || sku_id == 2 || sku_id == 3 || sku_id == 4 || sku_id == 5 || + sku_id == 6 || sku_id == 7 || sku_id == 255; } static void board_update_sensor_config_from_sku(void) |