From f07e1b5cb8b5d42bd02ce8bc11272920f2d84dbc Mon Sep 17 00:00:00 2001 From: Mary Ruthven Date: Tue, 9 Nov 2021 20:04:18 -0600 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273461 Reviewed-by: Vadim Sukhomlinov --- common/system.c | 6 ------ include/system.h | 8 -------- 2 files changed, 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 */ -- cgit v1.2.1