[U-Boot] [U-Boot, 3/3] pxa: Save lr register in relocate_code function

Tom Rini trini at ti.com
Tue Jan 15 00:23:19 CET 2013


On Sat, Jan 12, 2013 at 11:39:27AM -0000, Lukasz Dalek wrote:

> When u-boot is compiled for PXA25x processor, pxa/start.S is calling
> cpu_init_crit by BL instruction. BL is overwriting lr register so
> relocate_code is going into infinite loop. This patch preservs lr
> register in r12 before calling cpu_init_crit and after function returns
> restores it.
> 
> Signed-off-by: Lukasz Dalek <luk0104 at gmail.com>
> Acked-by: Marek Vasut <marex at denx.de>

This portion of the series is now 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/20130114/0b7a6579/attachment.pgp>


More information about the U-Boot mailing list