[PATCH v2 20/25] common: Drop status-LED code in board_r
Simon Glass
sjg at chromium.org
Mon Oct 21 13:38:28 CEST 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 e5f33f40643..70ffd3497ab 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -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>
@@ -461,29 +460,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)
{
@@ -737,8 +713,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,
@@ -761,7 +735,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