]> git.dujemihanovic.xyz Git - u-boot.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)
commit3394f398b5f37d930b9ae1b6638fe26b0cc735d8
treeb9365954b8f41e456abd8082b377a1781a2190df
parent10b86ef9b347c72ad8e73e739a9a00efd0f259f6
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