2016-08-07 05:53:00 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-04-02 12:41:25 +00:00
|
|
|
config SPL_SYSRESET
|
|
|
|
bool "Enable support for system reset drivers in SPL mode"
|
|
|
|
depends on SYSRESET && SPL_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.
|
|
|
|
|
|
|
|
config TPL_SYSRESET
|
|
|
|
bool "Enable support for system reset drivers in TPL mode"
|
|
|
|
depends on SYSRESET && TPL_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.
|
|
|
|
|
2017-04-14 02:10:24 +00:00
|
|
|
if SYSRESET
|
|
|
|
|
2021-02-25 09:22:52 +00:00
|
|
|
config SYSRESET_CMD_RESET
|
|
|
|
bool "sysreset implementation of the reset command"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable sysreset implementation of the reset command.
|
|
|
|
|
2019-05-16 21:48:42 +00:00
|
|
|
if CMD_POWEROFF
|
|
|
|
|
|
|
|
config SYSRESET_CMD_POWEROFF
|
|
|
|
bool "sysreset implementation of the poweroff command"
|
|
|
|
help
|
|
|
|
This should be selected by the appropriate PMIC driver if
|
|
|
|
the poweroff command is enabled.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2020-09-02 17:31:42 +00:00
|
|
|
config POWEROFF_GPIO
|
|
|
|
bool "Enable support for GPIO poweroff driver"
|
|
|
|
select DM_GPIO
|
|
|
|
help
|
|
|
|
Support for system poweroff using a GPIO pin. This can be used
|
|
|
|
for systems having a single GPIO to trigger a system poweroff.
|
|
|
|
|
2018-07-13 09:04:56 +00:00
|
|
|
config SYSRESET_GPIO
|
|
|
|
bool "Enable support for GPIO reset driver"
|
2019-04-13 08:35:23 +00:00
|
|
|
select DM_GPIO
|
2018-07-13 09:04:56 +00:00
|
|
|
help
|
|
|
|
Reset support via GPIO pin connected reset logic. This is used for
|
|
|
|
example on Microblaze where reset logic can be controlled via GPIO
|
|
|
|
pin which triggers cpu reset.
|
|
|
|
|
2018-07-13 15:00:13 +00:00
|
|
|
config SYSRESET_MICROBLAZE
|
|
|
|
bool "Enable support for Microblaze soft reset"
|
|
|
|
depends on MICROBLAZE
|
|
|
|
help
|
|
|
|
This is soft reset on Microblaze which does jump to 0x0 address.
|
|
|
|
|
2020-06-30 10:08:55 +00:00
|
|
|
config SYSRESET_OCTEON
|
|
|
|
bool "Enable support for Marvell Octeon SoC family"
|
|
|
|
depends on ARCH_OCTEON
|
|
|
|
help
|
|
|
|
This enables the system reset driver support for Marvell Octeon
|
|
|
|
SoCs.
|
|
|
|
|
2017-04-14 02:10:24 +00:00
|
|
|
config SYSRESET_PSCI
|
|
|
|
bool "Enable support for PSCI System Reset"
|
|
|
|
depends on ARM_PSCI_FW
|
2019-07-16 19:29:32 +00:00
|
|
|
select SPL_ARM_PSCI_FW if SPL
|
2017-04-14 02:10:24 +00:00
|
|
|
help
|
|
|
|
Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware
|
|
|
|
must be running on your system.
|
|
|
|
|
2021-09-12 19:11:46 +00:00
|
|
|
config SYSRESET_SBI
|
|
|
|
bool "Enable support for SBI System Reset"
|
|
|
|
depends on RISCV_SMODE && SBI_V02
|
|
|
|
select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
|
|
|
|
help
|
|
|
|
Enable system reset and poweroff via the SBI system reset extension.
|
|
|
|
The extension was introduced in version 0.3 of the SBI specification.
|
|
|
|
|
|
|
|
If the SBI implementation provides the extension, is board specific.
|
|
|
|
The RISC-V platform specification mandates the extension for rich
|
|
|
|
operating system platforms.
|
|
|
|
|
2019-07-15 19:47:53 +00:00
|
|
|
config SYSRESET_SOCFPGA
|
|
|
|
bool "Enable support for Intel SOCFPGA family"
|
|
|
|
depends on ARCH_SOCFPGA && (TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10)
|
|
|
|
help
|
|
|
|
This enables the system reset driver support for Intel SOCFPGA SoCs
|
|
|
|
(Cyclone 5, Arria 5 and Arria 10).
|
|
|
|
|
2020-08-05 12:11:25 +00:00
|
|
|
config SYSRESET_SOCFPGA_SOC64
|
|
|
|
bool "Enable support for Intel SOCFPGA SoC64 family (Stratix10/Agilex)"
|
2021-03-01 12:04:10 +00:00
|
|
|
depends on ARCH_SOCFPGA && TARGET_SOCFPGA_SOC64
|
2019-07-15 19:47:54 +00:00
|
|
|
help
|
|
|
|
This enables the system reset driver support for Intel SOCFPGA
|
2020-08-05 12:11:25 +00:00
|
|
|
SoC64 SoCs.
|
2019-07-15 19:47:54 +00:00
|
|
|
|
2018-08-27 10:27:46 +00:00
|
|
|
config SYSRESET_TI_SCI
|
|
|
|
bool "TI System Control Interface (TI SCI) system reset driver"
|
|
|
|
depends on TI_SCI_PROTOCOL
|
|
|
|
help
|
|
|
|
This enables the system reset driver support over TI System Control
|
|
|
|
Interface available on some new TI's SoCs.
|
|
|
|
|
2017-04-14 02:10:24 +00:00
|
|
|
endif
|
2017-04-24 22:39:14 +00:00
|
|
|
|
|
|
|
config SYSRESET_SYSCON
|
|
|
|
bool "Enable support for mfd syscon reboot driver"
|
|
|
|
select REGMAP
|
|
|
|
select SYSCON
|
|
|
|
help
|
|
|
|
Reboot support for generic SYSCON mapped register reset.
|
|
|
|
|
2017-05-16 16:29:13 +00:00
|
|
|
config SYSRESET_WATCHDOG
|
|
|
|
bool "Enable support for watchdog reboot driver"
|
|
|
|
select WDT
|
|
|
|
help
|
|
|
|
Reboot support for generic watchdog reset.
|
|
|
|
|
2020-04-21 07:28:29 +00:00
|
|
|
config SYSRESET_RESETCTL
|
|
|
|
bool "Enable support for reset controller reboot driver"
|
|
|
|
select DM_RESET
|
|
|
|
help
|
|
|
|
Reboot support using generic reset controller.
|
|
|
|
|
2018-07-03 09:48:40 +00:00
|
|
|
config SYSRESET_X86
|
|
|
|
bool "Enable support for x86 processor reboot driver"
|
|
|
|
depends on X86
|
|
|
|
help
|
|
|
|
Reboot support for generic x86 processor reset.
|
|
|
|
|
2019-09-25 14:11:24 +00:00
|
|
|
config SYSRESET_SPL_X86
|
|
|
|
bool "Enable support for x86 processor reboot driver in SPL"
|
|
|
|
depends on X86
|
|
|
|
help
|
|
|
|
Reboot support for generic x86 processor reset in SPL.
|
|
|
|
|
|
|
|
config SYSRESET_TPL_X86
|
|
|
|
bool "Enable support for x86 processor reboot driver in TPL"
|
|
|
|
depends on X86
|
|
|
|
help
|
|
|
|
Reboot support for generic x86 processor reset in TPL.
|
|
|
|
|
2019-12-13 15:47:58 +00:00
|
|
|
config SYSRESET_MPC83XX
|
2018-08-06 08:23:35 +00:00
|
|
|
bool "Enable support MPC83xx SoC family reboot driver"
|
|
|
|
help
|
|
|
|
Reboot support for NXP MPC83xx SoCs.
|
|
|
|
|
2016-08-07 05:53:00 +00:00
|
|
|
endmenu
|