]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
powerpc: remove unused legacy LED API
authorQuentin Schulz <quentin.schulz@cherry.de>
Wed, 19 Nov 2025 16:43:49 +0000 (17:43 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 5 Dec 2025 16:34:52 +0000 (10:34 -0600)
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@cherry.de>
arch/powerpc/lib/interrupts.c
drivers/timer/mpc83xx_timer.c

index 46208ae4c71ac8741663d805f56bf33a90e77117..f7d938ba5e08ec495c6dba3053f9f42b22075488 100644 (file)
@@ -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)
index f92009e4ccc8256d4c5f4d11e414dfc141f5a043..07fb66065b7b65d472bdd39af7cdb1c208748cd6 100644 (file)
@@ -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)