]> git.baikalelectronics.ru Git - uboot.git/commit
Revert "lpc32xx: cpu: add support for soft reset"
authorHarald Seiler <hws@denx.de>
Tue, 15 Dec 2020 15:47:51 +0000 (16:47 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 2 Mar 2021 19:03:02 +0000 (14:03 -0500)
commit1f88ef2c543fc84ffc24ad188e591503a4736601
treeb9365954b8f41e456abd8082b377a1781a2190df
parentd0c0d2a98b69b01f51485fe15d3f8e6f296f2968
Revert "lpc32xx: cpu: add support for soft reset"

This reverts commit 576007aec9a4a5f4f3dd1f690fb26a8c05ceb75f.

The parameter passed to reset_cpu() no longer holds a meaning as all
call-sites now pass the value 0.  Thus, branching on it is essentially
dead code and will just confuse future readers.

Revert soft-reset support and just always perform a hard-reset for now.
This is a preparation for removal of the reset_cpu() parameter across
the entire tree in a later patch.

Fixes: 576007aec9a4 ("lpc32xx: cpu: add support for soft reset")
Cc: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Harald Seiler <hws@denx.de>
arch/arm/mach-lpc32xx/cpu.c