Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77511
b: refs/heads/master
c: 15754bf
h: refs/heads/master
i:
  77509: 8e756e7
  77507: a2b1e25
  77503: 5a9cc99
v: v3
  • Loading branch information
Nicolas Pitre authored and Russell King committed Jan 26, 2008
1 parent 42c8f19 commit 8347f89
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e50d64097b6e63278789ee3a4394d127bd6e4254
refs/heads/master: 15754bf98ff564e8bb5296c7f5e67bc59b5700aa
9 changes: 8 additions & 1 deletion trunk/arch/arm/boot/compressed/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ proc_types:
.word 0x000f0000
b __armv4_mmu_cache_on
b __armv4_mmu_cache_off
b __armv4_mmu_cache_flush
b __armv5tej_mmu_cache_flush

.word 0x0007b000 @ ARMv6
.word 0x000ff000
Expand Down Expand Up @@ -821,6 +821,13 @@ iflush:
mcr p15, 0, r10, c7, c10, 4 @ drain WB
mov pc, lr

__armv5tej_mmu_cache_flush:
1: mrc p15, 0, r15, c7, c14, 3 @ test,clean,invalidate D cache
bne 1b
mcr p15, 0, r0, c7, c5, 0 @ flush I cache
mcr p15, 0, r0, c7, c10, 4 @ drain WB
mov pc, lr

__armv4_mmu_cache_flush:
mov r2, #64*1024 @ default: 32K dcache size (*2)
mov r11, #32 @ default: 32 byte line size
Expand Down

0 comments on commit 8347f89

Please sign in to comment.