Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286899
b: refs/heads/master
c: 612539e
h: refs/heads/master
i:
  286897: e40afbd
  286895: 1cf0ece
v: v3
  • Loading branch information
Will Deacon authored and Russell King committed Jan 23, 2012
1 parent 1284219 commit 9a5795d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 868dbf905245a524496a0535982ed21ad3be5585
refs/heads/master: 612539e81f655f6ac73c7af1da8701c1ee618aee
6 changes: 0 additions & 6 deletions trunk/arch/arm/mm/proc-v7.S
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ ENDPROC(cpu_v7_do_resume)
* Initialise TLB, Caches, and MMU state ready to switch the MMU
* on. Return in r0 the new CP15 C1 control register setting.
*
* We automatically detect if we have a Harvard cache, and use the
* Harvard cache control instructions insead of the unified cache
* control instructions.
*
* This should be able to cover all ARMv7 cores.
*
* It is assumed that:
Expand Down Expand Up @@ -251,9 +247,7 @@ __v7_setup:
#endif

3: mov r10, #0
#ifdef HARVARD_CACHE
mcr p15, 0, r10, c7, c5, 0 @ I+BTB cache invalidate
#endif
dsb
#ifdef CONFIG_MMU
mcr p15, 0, r10, c8, c7, 0 @ invalidate I + D TLBs
Expand Down

0 comments on commit 9a5795d

Please sign in to comment.