diff options
author | Ryan Zhang <Ryan.Zhang@quanta.corp-partner.google.com> | 2017-11-28 13:49:45 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-11-28 20:17:03 -0800 |
commit | 4a3bcfbdb7c3bac4f86bcfaf1422467543cf49c6 (patch) | |
tree | d6710563c4c7fc8e9d5911385be6c2f74272a58f /board/coral | |
parent | 3cf217eae9d417c2b1a45c602edfe0989026cd30 (diff) | |
download | chrome-ec-4a3bcfbdb7c3bac4f86bcfaf1422467543cf49c6.tar.gz |
Coral: add Bruce features.
Bruce SKU # is 8 and 11.
Bruce is convertible.
Bruce has keyboard backlight.
BUG=b:69134506
BRANCH=master
TEST=`ectool motionsense`
Signed-off-by: Ryan Zhang <ryan.zhang@quanta.corp-partner.google.com>
Change-Id: I6368919c3ae9f94b38e1bdae94334c05147dab37
Reviewed-on: https://chromium-review.googlesource.com/792578
Commit-Ready: Ryan Zhang <ryan.zhang@quanta.corp-partner.google.com>
Tested-by: Ryan Zhang <ryan.zhang@quanta.corp-partner.google.com>
Tested-by: Vincent Wang <vwang@chromium.org>
Reviewed-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: YH Lin <yueherngl@chromium.org>
Reviewed-by: Vincent Wang <vwang@chromium.org>
Diffstat (limited to 'board/coral')
-rw-r--r-- | board/coral/board.c | 2 | ||||
-rw-r--r-- | board/coral/sku.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/board/coral/board.c b/board/coral/board.c index 7ab358e912..4614fdf73f 100644 --- a/board/coral/board.c +++ b/board/coral/board.c @@ -1120,7 +1120,7 @@ uint32_t board_override_feature_flags0(uint32_t flags0) * device is one of them and return the default value - with backlight * here. */ - if (sku == 8) + if (sku == 8 || sku == 11) return flags0; // Report that there is no keyboard backlight diff --git a/board/coral/sku.h b/board/coral/sku.h index 2ed66a2670..4588932377 100644 --- a/board/coral/sku.h +++ b/board/coral/sku.h @@ -21,7 +21,8 @@ static const uint8_t form_factor[32] = { /* SKU 0 - 7 */ SKU_CONVERTIBLE(4) | SKU_CONVERTIBLE(5), /* SKU 8 - 15 */ - SKU_CONVERTIBLE(8) | SKU_CONVERTIBLE(9) | SKU_CONVERTIBLE(10), + SKU_CONVERTIBLE(8) | SKU_CONVERTIBLE(9) | SKU_CONVERTIBLE(10) | + SKU_CONVERTIBLE(11), /* SKU 16 - 23 */ 0x00, /* SKU 24 - 31 */ |