[U-Boot] [PATCH] mpc86xx: use r4 instead of r2 in lock_ram_in_cache and unlock_ram_in_cache
Wolfgang Denk
wd at denx.de
Mon Oct 13 13:57:37 CEST 2008
Dear Nick Spence,
In message <12199577553905-git-send-email-nick.spence at freescale.com> you wrote:
> This is needed in unlock_ram_in_cache() because it is called from C and
> will corrupt the small data area anchor that is kept in R2.
>
> lock_ram_in_cache() is modified similarly as good coding practice, but
> is not called from C.
>
> Signed-off-by: Nick Spence <nick.spence at freescale.com>
> ---
> cpu/mpc86xx/start.S | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
GUIs are virtually useless. Learn tools. They're configurable,
scriptable, automatable, cron-able, interoperable, etc. We don't need
no brain-dead winslurping monolithic claptrap.
-- Tom Christiansen in 371140df at csnews
More information about the U-Boot
mailing list