summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin Lu <devin.lu@quantatw.com>2019-08-19 19:22:22 +0800
committerJustin TerAvest <teravest@chromium.org>2019-08-22 04:07:58 +0000
commit47a5e51e4a9d0a560da7040b05e3997746629753 (patch)
treef0a7730f7c6d4f3c34e688bfd1cd4dbc697262c9
parentae9f43b355f44174450d02c7922cadb8d691aa54 (diff)
downloadchrome-ec-47a5e51e4a9d0a560da7040b05e3997746629753.tar.gz
blooglet: remove kbbacklight support with non-kbbacklight SKU.
BUG=b:138180187 BRANCH=octopus TEST=make sure ectool inventory doesn't show keyboard backlight support with non-kbbacklight SKU. Change-Id: Iac1c9b19e139641b88a0407189608dcc2bbfc360 Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1760659 Reviewed-by: Justin TerAvest <teravest@chromium.org>
-rw-r--r--board/bloog/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/bloog/board.c b/board/bloog/board.c
index b472f6fe8d..a092d90bf0 100644
--- a/board/bloog/board.c
+++ b/board/bloog/board.c
@@ -317,7 +317,8 @@ uint32_t board_override_feature_flags0(uint32_t flags0)
/*
* Remove keyboard backlight feature for devices that don't support it.
*/
- if (sku_id == 33 || sku_id == 36 || sku_id == 51 || sku_id == 52)
+ if (sku_id == 33 || sku_id == 36 || sku_id == 51 ||
+ sku_id == 52 || sku_id == 66 || sku_id == 68)
return (flags0 & ~EC_FEATURE_MASK_0(EC_FEATURE_PWM_KEYB));
else
return flags0;