Skip to content
Commit 6e19dc84 authored by Samuel Holland's avatar Samuel Holland Committed by Stefan Roese
Browse files

sunxi: Avoid duplicate reset_cpu with SYSRESET enabled



The sysreset uclass unconditionally provides a definition of the
reset_cpu() function. So does the sunxi board code. Fix the build with
SYSRESET enabled by omitting the function from the board code in that
case. The code still needs to be kept around for use in SPL.

Reviewed-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
parent a8f63d18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment