Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5789cbb authored by Gregory CLEMENT's avatar Gregory CLEMENT Committed by Jason Cooper
Browse files

ARM: mvebu: Fix the secondary startup for Cortex A9 SoC



During the secondary startup the SCU was assumed to be in normal
mode. It is not always the case, and especially after a kexec. This
commit adds the needed sequence to put the SCU in normal mode.

Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1414669184-16785-4-git-send-email-gregory.clement@free-electrons.com


Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent f746ac32
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -22,5 +22,6 @@
ENTRY(mvebu_cortex_a9_secondary_startup)
ENTRY(mvebu_cortex_a9_secondary_startup)
ARM_BE8(setend	be)
ARM_BE8(setend	be)
	bl      v7_invalidate_l1
	bl      v7_invalidate_l1
	bl	armada_38x_scu_power_up
	b	secondary_startup
	b	secondary_startup
ENDPROC(mvebu_cortex_a9_secondary_startup)
ENDPROC(mvebu_cortex_a9_secondary_startup)