[PATCH v3 19/25] common: Drop status-LED code in board_r
Simon Glass
sjg at chromium.org
Sun Nov 3 01:33:11 CET 2024
This is not used anymore, so drop it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
common/board_r.c | 27 ---------------------------
1 file changed, 27 deletions(-)
diff --git a/common/board_r.c b/common/board_r.c
index 62228a723e1..caac092c8e7 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -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,
};
--
2.43.0
More information about the U-Boot
mailing list