]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
nds32: Migrate CONFIG_DEBUG_LED to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 30 Mar 2022 22:07:28 +0000 (18:07 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 8 Apr 2022 14:46:22 +0000 (10:46 -0400)
Move this value to the board Kconfig file.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/nds32/include/asm/arch-ag101/ag101.h
arch/nds32/include/asm/arch-ag102/ag102.h
board/AndesTech/adp-ag101p/Kconfig

index 23908f82a4e0bfdbfb9e3d0c45732c07eac83d60..6900868a66caae9297141ccb5e22aaabfbe45ca8 100644 (file)
@@ -43,9 +43,6 @@
 /* External AHB slave2 (FUSBH200) */
 #define CONFIG_EXT_AHBSLAVE02_BASE     0x92000000
 
-/* DEBUG LED */
-#define CONFIG_DEBUG_LED               0x902FFFFC
-
 /* APB Device definitions */
 
 /* Power Management Unit */
index 3255db6592e6f0233b18a08b9fe93dad0111974a..53d38b3573450d1505003c05670636b4a5030b61 100644 (file)
@@ -72,8 +72,6 @@
 /* PWM - Pulse Width Modulator Controller */
 #define CONFIG_FTPWM010_BASE           0x94F00000
 
-/* Debug LED */
-#define CONFIG_DEBUG_LED               0x902FFFFC
 /* Power Management Unit */
 #define CONFIG_FTPMU010_BASE           0x98100000
 
index 5e8aa22c448adc7865eef0c9472658c5f3952b86..0fb7a10409b65ea4478f3ca032d8d91304f263b4 100644 (file)
@@ -1,5 +1,9 @@
 if TARGET_ADP_AG101P
 
+config DEBUG_LED
+       hex
+       default 0x902FFFFC
+
 config SYS_CPU
        default "n1213"