Convert CONFIG_AT91_LED to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 18 Mar 2022 12:38:18 +0000 (08:38 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 25 Mar 2022 12:01:15 +0000 (12:01 +0000)
This converts the following to Kconfig:
   CONFIG_AT91_LED

Cc: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/siemens/corvus/Kconfig
include/configs/corvus.h

index 69fe0f0..7797413 100644 (file)
@@ -1,5 +1,8 @@
 if TARGET_CORVUS
 
+config AT91_LED
+       def_bool y
+
 config SYS_BOARD
        default "corvus"
 
index caadf64..2aabd4b 100644 (file)
@@ -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 */