u-boot/cpu/74xx_7xx
Dave Liu d685b74c64 74xx: use r4 instead of r2 in lock_ram_in_cache and unlock_ram_in_cache
The patch is following the commit 3924384060

mpc86xx: 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: Nick Spence <nick.spence@freescale.com>

also, the r2 is used as global data pointer.

Signed-off-by: Dave Liu <daveliu@freescale.com>
2008-10-31 00:25:08 +01:00
..
cache.S rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
config.mk PPC: Use r2 instead of r29 as global data pointer 2008-02-14 22:43:22 +01:00
cpu_init.c [PATCH] Add support for Prodrive P3M750 & P3M7448 (P3Mx) boards 2006-11-29 16:14:05 +01:00
cpu.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
interrupts.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
io.S Initial revision 2002-01-15 18:58:11 +00:00
kgdb.S rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
Makefile Move "ar" flags to config.mk to allow for silent "make -s" 2006-10-09 01:02:05 +02:00
speed.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
start.S 74xx: use r4 instead of r2 in lock_ram_in_cache and unlock_ram_in_cache 2008-10-31 00:25:08 +01:00
traps.c cpu/[7a-ln-z]*: Remove obsolete references to CONFIG_COMMANDS 2007-07-09 18:57:22 -05:00