diff options
| author | Quentin Schulz <[email protected]> | 2025-11-19 18:01:15 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-12-05 13:38:09 -0600 |
| commit | c4594242aafc3452948a6b57dfbaacdfb4ed0860 (patch) | |
| tree | 93df78019fee580bc6a1691ac585eb86f5bc83a5 /include | |
| parent | b06e52f2ea937077b3ff8296e4a67648138ac897 (diff) | |
led: remove support for red LED in legacy API
To the exception of red_led_on in the arm-specific assembly code, all
code interacting with the red status LED was guarded by the
CONFIG_LED_STATUS_RED symbol, which is enabled in none of the upstream
defconfigs.
Since the last board which overrode the weak red_led_on function got
migrated to the new LED mechanism, there's also no user of the
arm-specific assembly code anymore, therefore it can be removed along
the other unreachable code sections.
Signed-off-by: Quentin Schulz <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/status_led.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/status_led.h b/include/status_led.h index 8e8b19f8c19..c3ff399b1ae 100644 --- a/include/status_led.h +++ b/include/status_led.h @@ -65,16 +65,4 @@ static inline void status_led_set(int led, int state) { } static inline void status_led_boot_blink(void) { } #endif /* CONFIG_LED_STATUS */ - -/* - * Coloured LEDs API - */ -#ifndef __ASSEMBLY__ -void red_led_on(void); -void red_led_off(void); -#else - .extern red_led_on - .extern red_led_off -#endif - #endif /* _STATUS_LED_H_ */ |
