ARM: OMAP5: Redo THUMB mode switch on secondary CPU
authorJoel Fernandes <joelf@ti.com>
Wed, 30 Apr 2014 02:53:47 +0000 (21:53 -0500)
committerTony Lindgren <tony@atomide.com>
Tue, 6 May 2014 00:32:25 +0000 (17:32 -0700)
commit55fde31cae6a815a184271317abf15f468abcb44
tree0c490e96403b97f2c7b00b9afcec84f31715eb18
parent4c05160342f16361fc37ae34dcae9210306a83e9
ARM: OMAP5: Redo THUMB mode switch on secondary CPU

Here's a redo of the patch [1] that effectively does the same
thing but is the right way to do things by using ENDPROC instead.
The firmware correctly switches to THUMB before entry.

The patch applies ontop of the earlier patch [1].

[1] https://lkml.org/lkml/2014/4/22/1044

Suggested-by: Dave Martin <Dave.Martin@arm.com>
Cc: Dave Martin <Dave.Martin@arm.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Nishanth Menon <nm@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap-headsmp.S