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
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
sysreset_psci.c
sysreset_rockchip.c rockchip: sysreset: use fst reset for ARM64 SOC 2017-11-03 15:17:20 +08:00
sysreset_sandbox.c
sysreset_snapdragon.c
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