commit | f30ef817d40a501ed5a2e081c2e6d44bf62fd0cb | [log] [tgz] |
---|---|---|
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | Sun Oct 07 09:24:10 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Mon Oct 08 11:15:04 2012 -0700 |
tree | 49b415b3a1da052b6b3d7fcbf146364991a28fc4 | |
parent | 514c65c812b089af88073ab174584b8d1609be79 [diff] |
arm: armv7: omap3: Fix restore sequence in lowlevel_init 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@aribaud.net> Tested-by: Jeroen Hofstee <jeroen@myspectrum.nl>