mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 09:30:10 +00:00
e388969178
Add a new sysreset driver based on linux/drivers/power/reset/syscon-reboot.c, which provides a generic driver for platforms that only require writing a mask to a regmap offset. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
34 lines
788 B
Text
34 lines
788 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.
|
|
|
|
endmenu
|