diff options
author | Nick Spence <nick.spence@freescale.com> | 2008-08-28 21:09:15 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-10-13 11:57:14 (GMT) |
commit | 392438406041415fe64ab8748ec5ab5ad01d1cf7 (patch) | |
tree | e2f9da3de8cd40a451f10c2894077ad932d2ae36 /drivers/mtd/cfi_flash.c | |
parent | 5c7cbcd34d0ee566875a4fd0f2a3e5a62bba921c (diff) | |
download | u-boot-392438406041415fe64ab8748ec5ab5ad01d1cf7.tar.xz |
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>
Diffstat (limited to 'drivers/mtd/cfi_flash.c')
0 files changed, 0 insertions, 0 deletions