mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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:
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user