Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
648b130f
Commit
648b130f
authored
Apr 27, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Bypass cache cleaning if cache/mmu was disabled.
parent
92e379cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
arch/arm/boot/compressed/head-sa1100.S
arch/arm/boot/compressed/head-sa1100.S
+5
-8
No files found.
arch/arm/boot/compressed/head-sa1100.S
View file @
648b130f
...
@@ -50,6 +50,10 @@ __SA1100_start:
...
@@ -50,6 +50,10 @@ __SA1100_start:
10
:
10
:
#endif
#endif
mrc
p15
,
0
,
r0
,
c1
,
c0
,
0
@
read
control
reg
ands
r0
,
r0
,
#
0x0d
beq
99
f
@
Data
cache
might
be
active
.
@
Data
cache
might
be
active
.
@
Be
sure
to
flush
kernel
binary
out
of
the
cache
,
@
Be
sure
to
flush
kernel
binary
out
of
the
cache
,
@
whatever
state
it
is
,
before
it
is
turned
off
.
@
whatever
state
it
is
,
before
it
is
turned
off
.
...
@@ -68,11 +72,4 @@ __SA1100_start:
...
@@ -68,11 +72,4 @@ __SA1100_start:
bic
r0
,
r0
,
#
0x0d
@
clear
WB
,
DC
,
MMU
bic
r0
,
r0
,
#
0x0d
@
clear
WB
,
DC
,
MMU
bic
r0
,
r0
,
#
0x1000
@
clear
Icache
bic
r0
,
r0
,
#
0x1000
@
clear
Icache
mcr
p15
,
0
,
r0
,
c1
,
c0
,
0
mcr
p15
,
0
,
r0
,
c1
,
c0
,
0
99
:
/*
*
Pause
for
a
short
time
so
that
we
give
enough
time
*
for
the
host
to
start
a
terminal
up
.
*/
mov
r0
,
#
0x00200000
1
:
subs
r0
,
r0
,
#
1
bne
1
b
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment