ARM: 6286/1: fix Thumb-2 decompressor broken by "Auto calculate ZRELADDR"
commit77754410fb8ecd7cf307bcd75d60f3b22b8c3cd2
authorRabin Vincent <rabin@rab.in>
Tue, 3 Aug 2010 15:47:03 +0000 (3 16:47 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 10 Aug 2010 21:10:51 +0000 (10 22:10 +0100)
tree649c8306543df05b56ae4d220982dfce4725c85c
parent81ef806163ebfd4775fc3154e031aad6feaaa192
ARM: 6286/1: fix Thumb-2 decompressor broken by "Auto calculate ZRELADDR"

"ARM: Auto calculate ZRELADDR and provide option for exceptions" broke
the Thumb-2 decompressor because it removed an entry in the LC0 table
but didn't adjust the offset the Thumb-2 code uses to load the SP from
that table.

Fix it, and also change the ARM code to use the separate SP-load since
ARM instructions that include the SP in the LDM register list are
deprecated.

Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/boot/compressed/head.S