[PATCH 5/5] powerpc: remove unused legacy LED API
Quentin Schulz
foss+uboot at 0leil.net
Wed Nov 19 17:43:49 CET 2025
From: Quentin Schulz <quentin.schulz at cherry.de>
No PPC upstream defconfig actually enables CONFIG_LED_STATUS and we're
trying to get rid of the legacy LED API, so let's remove one of its last
users.
Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
---
arch/powerpc/lib/interrupts.c | 7 -------
drivers/timer/mpc83xx_timer.c | 5 -----
2 files changed, 12 deletions(-)
diff --git a/arch/powerpc/lib/interrupts.c b/arch/powerpc/lib/interrupts.c
index 46208ae4c71..f7d938ba5e0 100644
--- a/arch/powerpc/lib/interrupts.c
+++ b/arch/powerpc/lib/interrupts.c
@@ -11,9 +11,6 @@
#include <irq_func.h>
#include <asm/processor.h>
#include <watchdog.h>
-#ifdef CONFIG_LED_STATUS
-#include <status_led.h>
-#endif
#include <asm/ptrace.h>
#ifndef CONFIG_MPC83XX_TIMER
@@ -82,10 +79,6 @@ void timer_interrupt(struct pt_regs *regs)
if (CFG_SYS_WATCHDOG_FREQ && (timestamp % (CFG_SYS_WATCHDOG_FREQ)) == 0)
schedule();
#endif /* CONFIG_WATCHDOG || CONFIG_HW_WATCHDOG */
-
-#ifdef CONFIG_LED_STATUS
- status_led_tick(timestamp);
-#endif /* CONFIG_LED_STATUS */
}
ulong get_timer (ulong base)
diff --git a/drivers/timer/mpc83xx_timer.c b/drivers/timer/mpc83xx_timer.c
index f92009e4ccc..07fb66065b7 100644
--- a/drivers/timer/mpc83xx_timer.c
+++ b/drivers/timer/mpc83xx_timer.c
@@ -9,7 +9,6 @@
#include <dm.h>
#include <irq_func.h>
#include <log.h>
-#include <status_led.h>
#include <sysinfo.h>
#include <time.h>
#include <timer.h>
@@ -178,10 +177,6 @@ void timer_interrupt(struct pt_regs *regs)
if (CFG_SYS_WATCHDOG_FREQ && (priv->timestamp % (CFG_SYS_WATCHDOG_FREQ)) == 0)
schedule();
#endif /* CONFIG_WATCHDOG || CONFIG_HW_WATCHDOG */
-
-#ifdef CONFIG_LED_STATUS
- status_led_tick(priv->timestamp);
-#endif /* CONFIG_LED_STATUS */
}
void wait_ticks(ulong ticks)
--
2.51.1
More information about the U-Boot
mailing list