]> git.dujemihanovic.xyz Git - u-boot.git/commit
exynos: Avoid duplicate reset_cpu with SYSRESET enabled
authorSam Protsenko <semen.protsenko@linaro.org>
Mon, 30 Oct 2023 16:55:02 +0000 (11:55 -0500)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 13 Nov 2023 07:19:04 +0000 (16:19 +0900)
commit08cfa971a717ff6aedf52066efb9e227eaa7aac4
treeb022f772acc51807a78aad6bf1cdd0413076ee87
parent11bd2787deff113634cb9f330d9287e6d3d76e9e
exynos: Avoid duplicate reset_cpu with SYSRESET enabled

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

This commit was inspired by commit 6e19dc84c14b ("sunxi: Avoid duplicate
reset_cpu with SYSRESET enabled").

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/mach-exynos/soc.c