diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2019-04-02 15:41:25 +0300 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-05-08 12:34:12 +0300 |
commit | 09259fce1e8b4ac34a47d4590f42878a38b42826 (patch) | |
tree | aa0c99bee21c1355938372b16412afb80d429ac2 /drivers/sysreset/Kconfig | |
parent | c34643e0db40bbcfaea8a0df8b6f4d0be7b0f71f (diff) | |
download | u-boot-09259fce1e8b4ac34a47d4590f42878a38b42826.tar.xz |
sysreset: enable driver support in SPL/TPL
SPL/TPL also need use sysreset for some feature like panic callback.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'drivers/sysreset/Kconfig')
-rw-r--r-- | drivers/sysreset/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/sysreset/Kconfig b/drivers/sysreset/Kconfig index 8ce3e2e207..d456f0ce36 100644 --- a/drivers/sysreset/Kconfig +++ b/drivers/sysreset/Kconfig @@ -13,6 +13,24 @@ config SYSRESET to effect a reset. The uclass will try all available drivers when reset_walk() is called. +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. + if SYSRESET config SYSRESET_GPIO |