Commit 32d4b991 authored by Alexandre Marquet's avatar Alexandre Marquet Committed by Krzysztof Kozlowski
Browse files

ARM: samsung: exynos5250: Allow CPU1 to boot



The firmware trustzone needs a special call to bring up the secondary
cpu core on the Manta board. This seems to be not needed on other
exynos5 boards and comes down to the available firmware on
a particular board.

Signed-off-by: default avatarAlexandre Marquet <tb@a-marquet.fr>
Signed-off-by: default avatarLukas Timmermann <linux@timmermann.space>
Reviewed-by: default avatarHenrik Grimler <henrik@grimler.se>
Link: https://patch.msgid.link/20260127-lat3st-staging-v4-3-797469aaaf9d@timmermann.space


Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 6de23f81
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -61,10 +61,10 @@ static int exynos_cpu_boot(int cpu)
	 * Exynos3250 doesn't need to send smc command for secondary CPU boot
	 * because Exynos3250 removes WFE in secure mode.
	 *
	 * On Exynos5 devices the call is ignored by trustzone firmware.
	 * On most Exynos5 devices the call is ignored by trustzone firmware.
	 */
	if (!soc_is_exynos4210() && !soc_is_exynos4212() &&
	    !soc_is_exynos4412())
	    !soc_is_exynos4412() && !of_machine_is_compatible("google,manta"))
		return 0;

	/*