diff options
author | Tom Rini <trini@konsulko.com> | 2022-03-30 18:07:28 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-08 10:46:22 -0400 |
commit | 4681e805362983ffa14b50f24ff4797f0827d54d (patch) | |
tree | b98cce81a49bcb9735e9f1131a6009883ceaa4e1 | |
parent | 89e9625fc7a7bb42d65492ccdf973cf06a9854fa (diff) |
nds32: Migrate CONFIG_DEBUG_LED to Kconfig
Move this value to the board Kconfig file.
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | arch/nds32/include/asm/arch-ag101/ag101.h | 3 | ||||
-rw-r--r-- | arch/nds32/include/asm/arch-ag102/ag102.h | 2 | ||||
-rw-r--r-- | board/AndesTech/adp-ag101p/Kconfig | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/arch/nds32/include/asm/arch-ag101/ag101.h b/arch/nds32/include/asm/arch-ag101/ag101.h index 23908f82a4e..6900868a66c 100644 --- a/arch/nds32/include/asm/arch-ag101/ag101.h +++ b/arch/nds32/include/asm/arch-ag101/ag101.h @@ -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 */ diff --git a/arch/nds32/include/asm/arch-ag102/ag102.h b/arch/nds32/include/asm/arch-ag102/ag102.h index 3255db6592e..53d38b35734 100644 --- a/arch/nds32/include/asm/arch-ag102/ag102.h +++ b/arch/nds32/include/asm/arch-ag102/ag102.h @@ -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 diff --git a/board/AndesTech/adp-ag101p/Kconfig b/board/AndesTech/adp-ag101p/Kconfig index 5e8aa22c448..0fb7a10409b 100644 --- a/board/AndesTech/adp-ag101p/Kconfig +++ b/board/AndesTech/adp-ag101p/Kconfig @@ -1,5 +1,9 @@ if TARGET_ADP_AG101P +config DEBUG_LED + hex + default 0x902FFFFC + config SYS_CPU default "n1213" |