commit | 01477b3e950e57e3b8d12934b6a889631be67589 | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Wed Nov 03 22:55:15 2021 -0500 |
committer | Stefan Roese <sr@denx.de> | Thu Nov 04 08:57:19 2021 +0100 |
tree | 16ced77068fe2b5e80b446b7a956c449280b6fe0 | |
parent | 3a8713aea8069f9dde66e9c5f2ccf87e56085f06 [diff] |
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: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Stefan Roese <sr@denx.de>