summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-03-18 15:38:18 +0300
committerTom Rini <trini@konsulko.com>2022-03-25 15:01:15 +0300
commit210a4b46bdc85a70af0f779861c945cb70227fea (patch)
treea306161d4b66a73eda04e857e915880bc93872ee
parenta958c58571ef2af420f482f47a34924d75510065 (diff)
downloadu-boot-210a4b46bdc85a70af0f779861c945cb70227fea.tar.xz
Convert CONFIG_AT91_LED to Kconfig
This converts the following to Kconfig: CONFIG_AT91_LED Cc: Eugen Hristev <eugen.hristev@microchip.com> Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--board/siemens/corvus/Kconfig3
-rw-r--r--include/configs/corvus.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/board/siemens/corvus/Kconfig b/board/siemens/corvus/Kconfig
index 69fe0f0723..77974133cc 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 caadf64626..2aabd4bbe2 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 */