diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2017-02-16 11:12:13 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-02-18 17:26:59 -0800 |
commit | 2062c99cd2bfe1642433b2cae33c617e02c27cdd (patch) | |
tree | 3aadc63a34b9b5e6f196a8cf0a3db17ad32bdbf9 /include/system.h | |
parent | bb184acdccff14a526b67eed9a8eae9dfb7431b6 (diff) | |
download | chrome-ec-2062c99cd2bfe1642433b2cae33c617e02c27cdd.tar.gz |
cleanup: Move chip/g-specific system() prototypes to system_chip.h
BUG=chromium:693148
BRANCH=None
TEST=`make buildall -j`
Change-Id: I7a758e6b5a04721d0422cfe8b767d85abddb1ad2
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/444264
Commit-Ready: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/system.h')
-rw-r--r-- | include/system.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/include/system.h b/include/system.h index 4b95e59c70..9cb04844ed 100644 --- a/include/system.h +++ b/include/system.h @@ -476,40 +476,4 @@ uintptr_t system_get_fw_reset_vector(uintptr_t base); */ int system_is_reboot_warm(void); -/** - * On systems with protection from a failing RW update: read the retry counter - * and act on it. - * - * @return EC_SUCCESS if no flash write errors were encounterd. - */ -int system_process_retry_counter(void); - -/** - * On systems with protection from a failing RW update: reset retry - * counter, this is used after a new image upload is finished, to make - * sure that the new image has a chance to run. - */ -void system_clear_retry_counter(void); - -/** - * A function provided by some platforms to hint that something is going - * wrong. - * - * @return a boolean, set to True if rolling reboot condition is suspected. - */ -int system_rolling_reboot_suspected(void); - -/** - * Compare the rw headers to check if there was a rollback. - * - * @return a boolean, set to True if a rollback is detected. - */ -int system_rollback_detected(void); - -/** - * Returns non-zero value when firmware is expected to be abe to detect user - * request to cut off battery supply. - */ -int system_battery_cutoff_support_required(void); - #endif /* __CROS_EC_SYSTEM_H */ |