rv1126-uboot/drivers/sysreset
Philipp Tomsich 13e1d84013 UPSTREAM: dm: reset: have the reset-command perform a COLD reset
The DM version of do_reset has been issuing a warm-reset, which (on
some platforms keeps GPIOs and other parts of the platform active).
This may cause unintended behaviour, as calling do_reset usually
indicates a desire to reset the board/platform and not just the CPU.

This changes do_reset to always request a COLD reset.
Note that programmatic uses can still invoke a WARM reset through
reset_cpu() or using sysreset_walk().

Change-Id: I65a8ac8e62582866e23e6451315090fdb2781ef4
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit b53f6992e9cb7f0d892ebc2b1620b55559f461be)
2018-01-17 15:27:28 +08:00
..
Kconfig sysreset: enable driver support in SPL/TPL 2017-09-12 16:04:32 +08:00
Makefile rockchip: sysreset: do not enable driver in TPL 2017-11-03 15:17:20 +08:00
sysreset-uclass.c UPSTREAM: dm: reset: have the reset-command perform a COLD reset 2018-01-17 15:27:28 +08:00
sysreset_ast.c aspeed: Refactor AST2500 RAM Driver and Sysreset Driver 2017-05-08 11:57:32 -04:00
sysreset_psci.c dm: Fix up inclusion of common.h 2017-06-01 07:03:03 -06:00
sysreset_rockchip.c rockchip: sysreset: use fst reset for ARM64 SOC 2017-11-03 15:17:20 +08:00
sysreset_sandbox.c dm: sandbox: sysreset: Convert driver to livetree 2017-06-01 07:03:17 -06:00
sysreset_snapdragon.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sysreset_sti.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
sysreset_syscon.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
sysreset_watchdog.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
sysreset_xtfpga.c xtensa: add support for the 'xtfpga' evaluation board 2016-08-15 18:46:40 -04:00