summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByes Chuang <byes.chuang@lcfc.corp-partner.google.com>2019-12-17 19:25:18 +0800
committerCommit Bot <commit-bot@chromium.org>2019-12-17 18:27:42 +0000
commit79822f50614cf1c4047dfbe01411d732b758f5cf (patch)
treecd6aeb9090fd37c2277a10ddf0ed5d63e95ec4ed
parent2e5c1919194be8dfa8bfddc532ce6fa3fa10022b (diff)
downloadchrome-ec-79822f50614cf1c4047dfbe01411d732b758f5cf.tar.gz
lick: Add sku id to the board_is_convertible
Since we add the sku_id 1 in the model.yaml, add this ID to board_is_convertible in board.c as well. BUG=b:144340709 BRANCH=octopus TEST=make -j BOARD=lick Change-Id: Ic7d013c8141fd591f860f01984e8f637110e67ea Signed-off-by: Byes Chuang <byes.chuang@lcfc.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1971510 Reviewed-by: Henry Sun <henrysun@google.com> Commit-Queue: Henry Sun <henrysun@google.com> Tested-by: Henry Sun <henrysun@google.com>
-rw-r--r--board/lick/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/lick/board.c b/board/lick/board.c
index 60e56d4cce..8e3cc4c971 100644
--- a/board/lick/board.c
+++ b/board/lick/board.c
@@ -195,7 +195,7 @@ unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors);
static int board_is_convertible(void)
{
- return sku_id != 255;
+ return sku_id != 255 || sku_id != 1;
}
static void board_update_sensor_config_from_sku(void)