summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-06-03 00:11:40 +0200
committerWolfgang Denk <wd@denx.de>2008-06-03 00:11:40 +0200
commite3d0d4ac0ec900543bdda141f9ada9bf6c47d011 (patch)
treeebbff8273b94f32edb73b0e97daba0067bfd55bc /cpu
parent9d2459f3532c009bb903b02b57079a3862420a5f (diff)
parent1a9fcc4b765599db24fa9c32293599f24c7a19ba (diff)
downloadu-boot-imx-e3d0d4ac0ec900543bdda141f9ada9bf6c47d011.zip
u-boot-imx-e3d0d4ac0ec900543bdda141f9ada9bf6c47d011.tar.gz
u-boot-imx-e3d0d4ac0ec900543bdda141f9ada9bf6c47d011.tar.bz2
Merge remote branch 'u-boot-mips/master'
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mips/cpu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpu/mips/cpu.c b/cpu/mips/cpu.c
index e267bba..0f58d25 100644
--- a/cpu/mips/cpu.c
+++ b/cpu/mips/cpu.c
@@ -66,10 +66,10 @@ void flush_cache(ulong start_addr, ulong size)
void write_one_tlb(int index, u32 pagemask, u32 hi, u32 low0, u32 low1)
{
- write_32bit_cp0_register(CP0_ENTRYLO0, low0);
- write_32bit_cp0_register(CP0_PAGEMASK, pagemask);
- write_32bit_cp0_register(CP0_ENTRYLO1, low1);
- write_32bit_cp0_register(CP0_ENTRYHI, hi);
- write_32bit_cp0_register(CP0_INDEX, index);
+ write_c0_entrylo0(low0);
+ write_c0_pagemask(pagemask);
+ write_c0_entrylo1(low1);
+ write_c0_entryhi(hi);
+ write_c0_index(index);
tlb_write_indexed();
}