[PATCH v2 19/25] sunxi: Drop status-LED code

Simon Glass sjg at chromium.org
Mon Oct 21 13:38:27 CEST 2024


This is not used anymore, so drop it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 board/sunxi/board.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 824c322a0dc..cff7b8eb247 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -49,7 +49,6 @@
 #include <spl.h>
 #include <sy8106a.h>
 #include <asm/setup.h>
-#include <status_led.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -550,11 +549,6 @@ void sunxi_board_init(void)
 {
 	int power_failed = 0;
 
-#ifdef CONFIG_LED_STATUS
-	if (IS_ENABLED(CONFIG_SPL_DRIVERS_MISC))
-		status_led_init();
-#endif
-
 #ifdef CONFIG_SY8106A_POWER
 	power_failed = sy8106a_set_vout1(CONFIG_SY8106A_VOUT1_VOLT);
 #endif
-- 
2.43.0



More information about the U-Boot mailing list