[U-Boot] [U-Boot, V2] arm: armv7: omap3: Fix restore sequence in lowlevel_init

Tom Rini trini at ti.com
Mon Oct 8 20:48:10 CEST 2012


On Sun, Oct 07, 2012 at 09:24:10AM -0000, Albert ARIBAUD wrote:

> The restore sequence in lowlevel_init was in the wrong order,
> causing lr to lose its original value and be set equal to ip
> instead. Also, its use of the stack clashes with that of
> s_init, so move the s_init call after the restore and turn
> it  into a tail-optimized branch.
> 
> Signed-off-by: Albert ARIBAUD <albert.u.boot at aribaud.net>
> Tested-by: Jeroen Hofstee <jeroen at myspectrum.nl>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121008/096afbcb/attachment.pgp>


More information about the U-Boot mailing list