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 <quentin.schulz@cherry.de>
This commit is contained in:
Quentin Schulz
2025-11-20 13:48:06 +01:00
committed by Tom Rini
parent 765a126a2f
commit fcbf81694c
14 changed files with 0 additions and 853 deletions

View File

@@ -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>

View File

@@ -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)