summaryrefslogtreecommitdiff
path: root/cpu/mips/cpu.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-11-18 01:26:14 +0100
committerWolfgang Denk <wd@denx.de>2007-11-18 01:26:14 +0100
commit0b20335015945cc9aedf27356e51aa3a0b0cdc48 (patch)
tree145c1e3568ba01f151e9ece4b2d10a710c692388 /cpu/mips/cpu.c
parent7e14fc65368cbd2861b1207453da55a4fc7b3f81 (diff)
parent7e1d884b7cb602007329c517ec1c453e3a6a5d9c (diff)
downloadu-boot-imx-0b20335015945cc9aedf27356e51aa3a0b0cdc48.zip
u-boot-imx-0b20335015945cc9aedf27356e51aa3a0b0cdc48.tar.gz
u-boot-imx-0b20335015945cc9aedf27356e51aa3a0b0cdc48.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-mips
Diffstat (limited to 'cpu/mips/cpu.c')
-rw-r--r--cpu/mips/cpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/mips/cpu.c b/cpu/mips/cpu.c
index f48675e..7559ac6 100644
--- a/cpu/mips/cpu.c
+++ b/cpu/mips/cpu.c
@@ -39,12 +39,12 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 0;
}
-void flush_cache (ulong start_addr, ulong size)
+void flush_cache(ulong start_addr, ulong size)
{
-
}
-void write_one_tlb( int index, u32 pagemask, u32 hi, u32 low0, u32 low1 ){
+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);