From: Quentin Schulz Date: Wed, 19 Nov 2025 16:43:49 +0000 (+0100) Subject: powerpc: remove unused legacy LED API X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43093811a4056dc31767ad5b304b4674b4c7aed8;p=thirdparty%2Fu-boot.git powerpc: remove unused legacy LED API 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 --- 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 #include #include -#ifdef CONFIG_LED_STATUS -#include -#endif #include #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 #include #include -#include #include #include #include @@ -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)