summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-11-09 20:04:18 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-18 04:53:47 +0000
commitf07e1b5cb8b5d42bd02ce8bc11272920f2d84dbc (patch)
tree50e06b4431003cce58d47a7d9e975ac205504c6f
parent8ea52c51e065af232f0779cca64090e69d72e75a (diff)
downloadchrome-ec-f07e1b5cb8b5d42bd02ce8bc11272920f2d84dbc.tar.gz
Revert "Add system_can_boot_ap API"
This reverts commit cdaca7c97eaefe93ab3a0148a954b2f139f5caad. BUG=b:200823466 TEST=make buildall -j Change-Id: I860b04167c3ab7335de63f561d31cf073cb5e897 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273461 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
-rw-r--r--common/system.c6
-rw-r--r--include/system.h8
2 files changed, 0 insertions, 14 deletions
diff --git a/common/system.c b/common/system.c
index 5b58da1977..7a382c0c01 100644
--- a/common/system.c
+++ b/common/system.c
@@ -1283,9 +1283,3 @@ enum ec_status host_command_reboot(struct host_cmd_handler_args *args)
DECLARE_HOST_COMMAND(EC_CMD_REBOOT_EC,
host_command_reboot,
EC_VER_MASK(0));
-
-int system_can_boot_ap(void)
-{
- /* For fixed AC system */
- return 1;
-}
diff --git a/include/system.h b/include/system.h
index 6797413fae..18eb68b118 100644
--- a/include/system.h
+++ b/include/system.h
@@ -517,12 +517,4 @@ static inline void system_print_extended_version_info(void)
{
}
#endif
-
-/**
- * Check if the system can supply enough power to boot AP
- *
- * @return true if the system is powered enough or false otherwise
- */
-int system_can_boot_ap(void);
-
#endif /* __CROS_EC_SYSTEM_H */