diff options
| author | Quentin Schulz <[email protected]> | 2025-11-19 17:43:46 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-12-05 10:34:52 -0600 |
| commit | c31f51d502af4d9897d4d9e4d0048912f0deff6f (patch) | |
| tree | 3f14c8cf47048a782c4375f4b18ff9f8c435c2d2 /cmd | |
| parent | abc34fa944aefca393ca30ffc05cb608c3cb7ade (diff) | |
led: remove coloured_LED_init, yellow and blue status LEDs in legacy API
The last user of coloured_LED_init has been recently removed, so we can
remove all places it's called and defined as it does nothing now.
Nobody makes use of the yellow and blue status LEDs from the legacy API,
so let's remove all references to it.
Signed-off-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/legacy_led.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/cmd/legacy_led.c b/cmd/legacy_led.c index db312ae6e2d..609a4b08e0a 100644 --- a/cmd/legacy_led.c +++ b/cmd/legacy_led.c @@ -48,16 +48,9 @@ static const led_tbl_t led_commands[] = { #ifdef CONFIG_LED_STATUS_GREEN { "green", CONFIG_LED_STATUS_GREEN, green_led_off, green_led_on, NULL }, #endif -#ifdef CONFIG_LED_STATUS_YELLOW - { "yellow", CONFIG_LED_STATUS_YELLOW, yellow_led_off, yellow_led_on, - NULL }, -#endif #ifdef CONFIG_LED_STATUS_RED { "red", CONFIG_LED_STATUS_RED, red_led_off, red_led_on, NULL }, #endif -#ifdef CONFIG_LED_STATUS_BLUE - { "blue", CONFIG_LED_STATUS_BLUE, blue_led_off, blue_led_on, NULL }, -#endif { NULL, 0, NULL, NULL, NULL } }; @@ -172,15 +165,9 @@ U_BOOT_CMD( #ifdef CONFIG_LED_STATUS_GREEN "green|" #endif -#ifdef CONFIG_LED_STATUS_YELLOW - "yellow|" -#endif #ifdef CONFIG_LED_STATUS_RED "red|" #endif -#ifdef CONFIG_LED_STATUS_BLUE - "blue|" -#endif "all] [on|off|toggle|blink] [blink-freq in ms]", "[led_name] [on|off|toggle|blink] sets or clears led(s)" ); |
