summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/led_common.c9
-rw-r--r--include/ec_commands.h2
-rw-r--r--include/led_common.h16
3 files changed, 0 insertions, 27 deletions
diff --git a/common/led_common.c b/common/led_common.c
index 85879b148f..1ca5a7a959 100644
--- a/common/led_common.c
+++ b/common/led_common.c
@@ -78,12 +78,3 @@ static enum ec_status led_command_control(struct host_cmd_handler_args *args)
return EC_RES_SUCCESS;
}
DECLARE_HOST_COMMAND(EC_CMD_LED_CONTROL, led_command_control, EC_VER_MASK(1));
-
-__attribute__((weak))
-void led_control(enum ec_led_id led_id, enum ec_led_state state)
-{
- /*
- * Default weak implementation that does not affect the state of
- * LED. Boards can provide their own implementation.
- */
-}
diff --git a/include/ec_commands.h b/include/ec_commands.h
index c3f86b97d5..3343afbbac 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -2175,8 +2175,6 @@ enum ec_led_id {
EC_LED_ID_LEFT_LED,
/* LED to indicate right side */
EC_LED_ID_RIGHT_LED,
- /* LED to indicate recovery mode with HW_REINIT */
- EC_LED_ID_RECOVERY_HW_REINIT_LED,
/* LED to indicate sysrq debug mode. */
EC_LED_ID_SYSRQ_DEBUG_LED,
diff --git a/include/led_common.h b/include/led_common.h
index a66455b008..ddeb5f80a0 100644
--- a/include/led_common.h
+++ b/include/led_common.h
@@ -67,20 +67,4 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness);
*
*/
void led_enable(int enable);
-
-enum ec_led_state {
- LED_STATE_OFF = 0,
- LED_STATE_ON = 1,
- LED_STATE_RESET = 2,
-};
-
-/**
- * Control state of LED.
- *
- * @param led_id ID of LED to control
- * @param state 0=off, 1=on, 2=reset to default
- *
- */
-void led_control(enum ec_led_id id, enum ec_led_state state);
-
#endif /* __CROS_EC_LED_COMMON_H */