[PATCH 01/15] Convert CONFIG_AT91_LED to Kconfig
Tom Rini
trini at konsulko.com
Fri Mar 18 13:38:18 CET 2022
This converts the following to Kconfig:
CONFIG_AT91_LED
Cc: Eugen Hristev <eugen.hristev at microchip.com>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
board/siemens/corvus/Kconfig | 3 +++
include/configs/corvus.h | 1 -
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/board/siemens/corvus/Kconfig b/board/siemens/corvus/Kconfig
index 69fe0f072344..77974133ccf3 100644
--- a/board/siemens/corvus/Kconfig
+++ b/board/siemens/corvus/Kconfig
@@ -1,5 +1,8 @@
if TARGET_CORVUS
+config AT91_LED
+ def_bool y
+
config SYS_BOARD
default "corvus"
diff --git a/include/configs/corvus.h b/include/configs/corvus.h
index caadf6462614..2aabd4bbe2e4 100644
--- a/include/configs/corvus.h
+++ b/include/configs/corvus.h
@@ -32,7 +32,6 @@
#define CONFIG_USART_ID ATMEL_ID_SYS
/* LED */
-#define CONFIG_AT91_LED
#define CONFIG_RED_LED AT91_PIN_PD31 /* this is the user1 led */
#define CONFIG_GREEN_LED AT91_PIN_PD0 /* this is the user2 led */
--
2.25.1
More information about the U-Boot
mailing list