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 /doc/api | |
| 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 'doc/api')
| -rw-r--r-- | doc/api/led.rst | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/doc/api/led.rst b/doc/api/led.rst index 6889f487851..9ae3f5fe252 100644 --- a/doc/api/led.rst +++ b/doc/api/led.rst @@ -57,9 +57,6 @@ Some other LED macros CONFIG_STATUS_LED_BOOT is the LED to light when the board is booting. This must be a valid LED number (0-5). -CONFIG_STATUS_LED_RED is the red LED. It is used to signal errors. This must be -a valid LED number (0-5). - General LED functions ~~~~~~~~~~~~~~~~~~~~~ The following functions should be defined: @@ -71,19 +68,6 @@ __led_set is called to change the state of the LED. __led_toggle is called to toggle the current state of the LED. -Colour LED ----------- - -Colour LED's are at present only used by ARM. - -The functions names explain their purpose. - -- red_LED_on -- red_LED_off - -These are weakly defined in arch/arm/lib/board.c to noops. Where applicable, define -these functions in the board specific source. - TBD : Describe older board dependent macros similar to what is done for TBD : Describe general support via asm/status_led.h |
