configs: Convert AT91RESET_EXTRST to Kconfig
authorTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 25 Feb 2022 08:13:56 +0000 (10:13 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Fri, 1 Apr 2022 12:42:46 +0000 (15:42 +0300)
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

index 145c4b2..6558950 100644 (file)
@@ -306,6 +306,9 @@ endchoice
 config ATMEL_SFR
        bool
 
+config AT91RESET_EXTRST
+       bool
+
 config SYS_SOC
        default "at91"