diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-06-17 18:43:59 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-06-20 02:05:55 +0300 |
commit | 4581b717b1bf0fb04e7d9fcaf3d4c23d357154ac (patch) | |
tree | d59cea67293deab951e1322d4ab8add35ed555de /drivers/reset/Kconfig | |
parent | 89c1e2da78f82a09685006291ce8bb44f635fa25 (diff) | |
download | u-boot-4581b717b1bf0fb04e7d9fcaf3d4c23d357154ac.tar.xz |
reset: implement a reset test
This adds a sandbox reset implementation (provider), a test client
device, instantiates them both from Sandbox's DT, and adds a DM test
that excercises everything.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/reset/Kconfig')
-rw-r--r-- | drivers/reset/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index 5c449a99d3..0fe8cc3827 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -12,4 +12,12 @@ config DM_RESET although driving such reset isgnals using GPIOs may be more appropriate in this case. +config SANDBOX_RESET + bool "Enable the sandbox reset test driver" + depends on DM_MAILBOX && SANDBOX + help + Enable support for a test reset controller implementation, which + simply accepts requests to reset various HW modules without actually + doing anything beyond a little error checking. + endmenu |