mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
17a0c14164
Add a new sysreset driver that uses the recently added watchdog support. It performs a full SoC reset by calling wdt_expire_now op. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
40 lines
928 B
Text
40 lines
928 B
Text
#
|
|
# System reset devices
|
|
#
|
|
|
|
menu "System reset device drivers"
|
|
|
|
config SYSRESET
|
|
bool "Enable support for system reset drivers"
|
|
depends on DM
|
|
help
|
|
Enable system reset drivers which can be used to reset the CPU or
|
|
board. Each driver can provide a reset method which will be called
|
|
to effect a reset. The uclass will try all available drivers when
|
|
reset_walk() is called.
|
|
|
|
if SYSRESET
|
|
|
|
config SYSRESET_PSCI
|
|
bool "Enable support for PSCI System Reset"
|
|
depends on ARM_PSCI_FW
|
|
help
|
|
Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware
|
|
must be running on your system.
|
|
|
|
endif
|
|
|
|
config SYSRESET_SYSCON
|
|
bool "Enable support for mfd syscon reboot driver"
|
|
select REGMAP
|
|
select SYSCON
|
|
help
|
|
Reboot support for generic SYSCON mapped register reset.
|
|
|
|
config SYSRESET_WATCHDOG
|
|
bool "Enable support for watchdog reboot driver"
|
|
select WDT
|
|
help
|
|
Reboot support for generic watchdog reset.
|
|
|
|
endmenu
|