summaryrefslogtreecommitdiff
path: root/include/board_config.h
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2017-08-24 23:10:53 +0200
committerchrome-bot <chrome-bot@chromium.org>2017-08-30 03:58:28 -0700
commit09136dea764dbe482392c29b3c8d1763149df3e6 (patch)
treeb6cff30ac999c763082c285f6bd3ef7ef0016c5d /include/board_config.h
parentf1dfc4cbac2140f51f4a40fec790755ca7d4fafe (diff)
downloadchrome-ec-09136dea764dbe482392c29b3c8d1763149df3e6.tar.gz
ec_features / coral: Allow disabling keyboard backlight feature
Allow reporting that keyboard backlight doesn't exist even when the code is compiled in. Useful if there are multiple device models that should share firmware. BUG=b:64705535 BRANCH=none TEST=none Change-Id: I9c1fc370aedf66ef856a571f73831095d27e3d39 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://chromium-review.googlesource.com/633926 Commit-Ready: Patrick Georgi <pgeorgi@chromium.org> Tested-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'include/board_config.h')
-rw-r--r--include/board_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/board_config.h b/include/board_config.h
index f408db8cd6..f3f42ea795 100644
--- a/include/board_config.h
+++ b/include/board_config.h
@@ -61,4 +61,10 @@ void board_before_rsmrst(int rsmrst);
*/
void chip_pre_init(void);
+#ifdef CONFIG_EC_FEATURE_BOARD_OVERRIDE
+/* function for board specific overrides to default feature flags */
+uint32_t board_override_feature_flags0(uint32_t flags0);
+uint32_t board_override_feature_flags1(uint32_t flags1);
+#endif
+
#endif /* __CROS_EC_BOARD_CONFIG_H */