summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-18 13:13:57 -0600
committerTom Rini <[email protected]>2026-03-18 13:13:57 -0600
commit28608c808774a39ec47d31353b141db547136e58 (patch)
tree29ee72ed3cce59e7e2fac39b4a5bc3b8a639218a /common
parent24db98cdf911b6ca362209e674bf9412441c1095 (diff)
parentfcbf81694c9399a71ac100b4de15089c3e09dd8c (diff)
Merge patch series "led: remove legacy API"
Quentin Schulz <[email protected]> says: This migrates the last user of the legacy LED API, IMX233-OLinuXino and net/bootp.c, to the modern LED framework. I do have concern about being able to use BOOTP in SPL? In which case, I should probably add an additional check on CONFIG_IS_ENABLED(LED) in addition to IS_ENABLED(CONFIG_LED_BOOT)? I haven't tested this as I do not own an IMX233-OLinuXino, so please give this a try if you own this device. Then, since there's no user left of this legacy API, it is entirely removed. Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'common')
-rw-r--r--common/board_f.c1
-rw-r--r--common/board_r.c11
2 files changed, 0 insertions, 12 deletions
diff --git a/common/board_f.c b/common/board_f.c
index df2b0dc899b..a90dcf3013c 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -36,7 +36,6 @@
#include <relocate.h>
#include <serial.h>
#include <spl.h>
-#include <status_led.h>
#include <sysreset.h>
#include <time.h>
#include <timer.h>
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)