[PATCH 22/27] common: Drop status-LED code in board_r
Simon Glass
sjg at chromium.org
Thu Sep 26 22:44:42 CEST 2024
This is not used anymore, so drop it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
common/board_r.c | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/common/board_r.c b/common/board_r.c
index 4faaa202421..b207c04e4d4 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -51,7 +51,6 @@
#include <pvblock.h>
#include <scsi.h>
#include <serial.h>
-#include <status_led.h>
#include <stdio_dev.h>
#include <timer.h>
#include <trace.h>
@@ -460,18 +459,6 @@ static int initr_malloc_bootparams(void)
}
#endif
-#if defined(CONFIG_LED_STATUS)
-static int initr_status_led(void)
-{
-#if defined(CONFIG_LED_STATUS_BOOT)
- status_led_set(CONFIG_LED_STATUS_BOOT, CONFIG_LED_STATUS_BLINKING);
-#else
- status_led_init();
-#endif
- return 0;
-}
-#endif
-
#ifdef CONFIG_CMD_NET
static int initr_net(void)
{
@@ -724,9 +711,6 @@ static init_fnc_t init_sequence_r[] = {
interrupt_init,
#if defined(CONFIG_MICROBLAZE) || defined(CONFIG_M68K)
timer_init, /* initialize timer */
-#endif
-#if defined(CONFIG_LED_STATUS)
- initr_status_led,
#endif
/* PPC has a udelay(20) here dating from 2002. Why? */
#ifdef CONFIG_BOARD_LATE_INIT
--
2.43.0
More information about the U-Boot
mailing list