summaryrefslogtreecommitdiffstats
path: root/cpu
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-05-09 22:19:29 +0200
committerWolfgang Denk <wd@denx.de>2008-05-09 22:19:29 +0200
commit7ea8325b41e02bf0a84ef3eafa686730886977a8 (patch)
treedcaf846e151b8ffcdf0e6bdd70cd9a42d747ebd3 /cpu
parent4604f552a98400f7a55d544841419ccaf0b5d06e (diff)
parent49387dba910e485640b575e920ee463b7e611dc3 (diff)
downloadblackbird-obmc-uboot-7ea8325b41e02bf0a84ef3eafa686730886977a8.tar.gz
blackbird-obmc-uboot-7ea8325b41e02bf0a84ef3eafa686730886977a8.zip
Merge branch 'master' of git://www.denx.de/git/u-boot-mips
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mips/cache.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpu/mips/cache.S b/cpu/mips/cache.S
index 428d251bf1..1b0efc34a7 100644
--- a/cpu/mips/cache.S
+++ b/cpu/mips/cache.S
@@ -240,14 +240,16 @@ NESTED(mips_cache_reset, 0, ra)
*/
move a1, t2
move a2, t4
- bal mips_init_icache
+ PTR_LA t7, mips_init_icache
+ jalr t7
/*
* then initialize D-cache.
*/
move a1, t3
move a2, t5
- bal mips_init_dcache
+ PTR_LA t7, mips_init_dcache
+ jalr t7
jr RA
END(mips_cache_reset)
OpenPOWER on IntegriCloud