Skip to content
Snippets Groups Projects
Commit ade50c7f authored by Nick Spence's avatar Nick Spence Committed by Kim Phillips
Browse files

mpc83xx: use r4 instead of r2 in lock_ram_in_cache and unlock_ram_in_cache


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: default avatarNick Spence <nick.spence@freescale.com>
Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
parent d9fe8817
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment