diff options
author | Devin Lu <devin.lu@quantatw.com> | 2019-08-26 09:43:54 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-26 06:13:41 +0000 |
commit | 8064c30fe43d1336cbd3ce302792e27c68ae5125 (patch) | |
tree | 1204c527e4fa41e800e4fc8b5fa3ecaab238cb07 /board/garg | |
parent | c2a4febcdcd069ec60245fdeeb248899b4dc1b9f (diff) | |
download | chrome-ec-8064c30fe43d1336cbd3ce302792e27c68ae5125.tar.gz |
garg360: add covertible SKU ID
BUG=b:134854577
BRANCH=octopus
TEST=make buildall -j
Change-Id: I27785f240da97141dd62ee011cfe1e942f803c5b
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1768495
Reviewed-by: Marco Chen <marcochen@chromium.org>
Diffstat (limited to 'board/garg')
-rw-r--r-- | board/garg/board.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/board/garg/board.c b/board/garg/board.c index 8eaa10034d..5ff0a72be6 100644 --- a/board/garg/board.c +++ b/board/garg/board.c @@ -229,8 +229,11 @@ unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors); static int board_is_convertible(void) { - /* Garg: TBD */ - return sku_id == 255; + /* + * Garg360: 37 + * Unprovisioned: 255 + */ + return sku_id == 37 || sku_id == 255; } static int board_with_ar_cam(void) |