diff mbox series

[1/2] configs: Convert AT91RESET_EXTRST to Kconfig

Message ID 20220225081357.535317-2-tudor.ambarus@microchip.com
State Accepted
Commit af612ee4184d9fe9b17a9d81e65beeb8fceb8949
Delegated to: Eugen Hristev
Headers show
Series ARM: at91: sama7g5: Reset external devices at software reset | expand

Commit Message

Tudor Ambarus Feb. 25, 2022, 8:13 a.m. UTC
Convert AT91RESET_EXTRST to Kconfig for easier integration. The symbol is
not configurable from menuconfig, it will be automatically selected by SoCs
that select it explicitly via the "select" directive.
AT91RESET_EXTRST sets the Reset Controller's RSTC_CR.EXTRST bit which
asserts the nrst_out pin that resets external devices.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
---
 arch/arm/mach-at91/Kconfig | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 00f31045d6..ecc4da3797 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -299,6 +299,9 @@  endchoice
 config ATMEL_SFR
 	bool
 
+config AT91RESET_EXTRST
+	bool
+
 config SYS_SOC
 	default "at91"