diff --git a/include/ec_commands.h b/include/ec_commands.h index c57e82a161..ca91290fcb 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -1712,6 +1712,10 @@ enum ec_led_id { EC_LED_ID_POWER_LED, /* LED on power adapter or its plug */ EC_LED_ID_ADAPTER_LED, + /* LED to indicate left side */ + EC_LED_ID_LEFT_LED, + /* LED to indicate right side */ + EC_LED_ID_RIGHT_LED, EC_LED_ID_COUNT }; diff --git a/util/ectool.c b/util/ectool.c index 10a178c942..688c402950 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -252,7 +252,7 @@ BUILD_ASSERT(ARRAY_SIZE(led_color_names) == EC_LED_COLOR_COUNT); /* Note: depends on enum ec_led_id */ static const char * const led_names[] = { - "battery", "power", "adapter"}; + "battery", "power", "adapter", "left", "right"}; BUILD_ASSERT(ARRAY_SIZE(led_names) == EC_LED_ID_COUNT); /* Check SBS numerical value range */