diff options
author | Patrick Georgi <pgeorgi@google.com> | 2017-08-24 10:51:43 +0200 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-08-30 03:58:28 -0700 |
commit | 6844e4c2793b736b873f97510238ae6ed03c0772 (patch) | |
tree | c5bfdc8b3e87db27703623b9e0c6ed93419269f4 /include/host_command.h | |
parent | 2777b7771e788a7c2205c907710b703c48efedc5 (diff) | |
download | chrome-ec-6844e4c2793b736b873f97510238ae6ed03c0772.tar.gz |
ec_features: Move feature flags out of ec_command into its own unit
Prepare for exposing the feature flags through EC ACPI memory space by
moving the definitions and collection function into its own unit.
BUG=b:64705535
BRANCH=none
TEST=builds and returns the same value
Change-Id: I66eabebe0d039fdcd14d11b9ecf77c0f1040d006
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/633925
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/host_command.h')
-rw-r--r-- | include/host_command.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/host_command.h b/include/host_command.h index 50466dc61d..78157231ca 100644 --- a/include/host_command.h +++ b/include/host_command.h @@ -313,4 +313,8 @@ int host_get_vboot_mode(void); */ void host_send_sysrq(uint8_t key); +/* Return the lower/higher part of the feature flags bitmap */ +uint32_t get_feature_flags0(void); +uint32_t get_feature_flags1(void); + #endif /* __CROS_EC_HOST_COMMAND_H */ |