summaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2025-11-20 13:48:06 +0100
committerTom Rini <[email protected]>2026-03-18 13:07:36 -0600
commitfcbf81694c9399a71ac100b4de15089c3e09dd8c (patch)
tree1f990094541a531354af372ed4fd2e044227391a /common/board_r.c
parent765a126a2f1f5eff82276e9fecbb0745e9fce77b (diff)
led: remove legacy API
No user of the legacy LED API anymore (except Sunxi with the PinePhone but that is now a Sunxi-specific implementation), so let's remove anything related. Signed-off-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'common/board_r.c')
-rw-r--r--common/board_r.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 76f9fc090fb..8cf0e14679c 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -52,7 +52,6 @@
#include <pvblock.h>
#include <scsi.h>
#include <serial.h>
-#include <status_led.h>
#include <stdio_dev.h>
#include <timer.h>
#include <trace.h>
@@ -482,17 +481,8 @@ static int initr_malloc_bootparams(void)
}
#endif
-static int initr_status_led(void)
-{
- status_led_init();
-
- return 0;
-}
-
static int initr_boot_led_blink(void)
{
- status_led_boot_blink();
-
led_boot_blink();
return 0;
@@ -758,7 +748,6 @@ static void initcall_run_r(void)
#if defined(CONFIG_MICROBLAZE) || defined(CONFIG_M68K)
INITCALL(timer_init); /* initialize timer */
#endif
- INITCALL(initr_status_led);
INITCALL(initr_boot_led_blink);
/* PPC has a udelay(20) here dating from 2002. Why? */
#if CONFIG_IS_ENABLED(BOARD_LATE_INIT)