[U-Boot] [PATCH] dm: reset: have the reset-command perform a COLD reset

Simon Glass sjg at chromium.org
Sun Nov 26 11:39:08 UTC 2017


On 24 November 2017 at 10:37, Philipp Tomsich
<philipp.tomsich at theobroma-systems.com> wrote:
> 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().
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> ---
>
>  drivers/sysreset/sysreset-uclass.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list