From: Tom Rini Date: Mon, 14 Jan 2013 16:23:19 -0700 Subject: [U-Boot] [U-Boot, 3/3] pxa: Save lr register in relocate_code function In-Reply-To: <1358026767-28130-3-git-send-email-luk0104@gmail.com> References: <1358026767-28130-3-git-send-email-luk0104@gmail.com> Message-ID: <20130114232319.GD28422@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Acked-by: Marek Vasut 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: