common: Drop status-LED code in board_r
This is not used anymore, so drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -53,7 +53,6 @@
|
||||
#include <pvblock.h>
|
||||
#include <scsi.h>
|
||||
#include <serial.h>
|
||||
#include <status_led.h>
|
||||
#include <stdio_dev.h>
|
||||
#include <timer.h>
|
||||
#include <trace.h>
|
||||
@@ -459,29 +458,6 @@ 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;
|
||||
}
|
||||
|
||||
static int initr_boot_led_on(void)
|
||||
{
|
||||
led_boot_on();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_CMD_NET)
|
||||
static int initr_net(void)
|
||||
{
|
||||
@@ -735,8 +711,6 @@ static init_fnc_t init_sequence_r[] = {
|
||||
#if defined(CONFIG_MICROBLAZE) || defined(CONFIG_M68K)
|
||||
timer_init, /* initialize timer */
|
||||
#endif
|
||||
initr_status_led,
|
||||
initr_boot_led_blink,
|
||||
/* PPC has a udelay(20) here dating from 2002. Why? */
|
||||
#ifdef CONFIG_BOARD_LATE_INIT
|
||||
board_late_init,
|
||||
@@ -759,7 +733,6 @@ static init_fnc_t init_sequence_r[] = {
|
||||
#if defined(CFG_PRAM)
|
||||
initr_mem,
|
||||
#endif
|
||||
initr_boot_led_on,
|
||||
run_main_loop,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user