summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin Lu <devin.lu@quantatw.com>2019-08-26 09:43:54 +0800
committerCommit Bot <commit-bot@chromium.org>2019-08-26 14:24:28 +0000
commit54d6a0f2d9d9a522387389d70125ef3b477afa4a (patch)
tree97a6e42627102145c54a4d6b0d2eb388fd43f229
parent3b99cf9514b2c1fbe42eb66321f0de902160f2a5 (diff)
downloadchrome-ec-54d6a0f2d9d9a522387389d70125ef3b477afa4a.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> (cherry picked from commit 8064c30fe43d1336cbd3ce302792e27c68ae5125) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1770328 Tested-by: Justin TerAvest <teravest@chromium.org> Reviewed-by: Justin TerAvest <teravest@chromium.org> Commit-Queue: Justin TerAvest <teravest@chromium.org>
-rw-r--r--board/garg/board.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/board/garg/board.c b/board/garg/board.c
index 5947e23f8e..7fe104198c 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)