]> git.sur5r.net Git - u-boot/commit
ARM: arm926ejs: fix lowlevel_init call
authorMans Rullgard <mans@mansr.com>
Sat, 21 Apr 2018 15:11:07 +0000 (16:11 +0100)
committerStefano Babic <sbabic@denx.de>
Fri, 27 Apr 2018 07:32:54 +0000 (09:32 +0200)
commitda372af6e40d84e8a47baa41d22dd3e953469b74
treef16ab16a2dea582fa017b79da269d0b8ac99c003
parent9482aeda660cece398cd85938184f727d1404611
ARM: arm926ejs: fix lowlevel_init call

The code attempts to preserve the value of LR by storing it in R12/IP
across the lowevel_init() call.  However, this register is not saved
by the callee.  Use a register that guaranteed to be preserved instead.

Signed-off-by: Mans Rullgard <mans@mansr.com>
arch/arm/cpu/arm926ejs/start.S