Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
779d33af
Commit
779d33af
authored
May 24, 2010
by
Kevin Hilman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'davinci-misc' into davinci-reset
parents
faf0bfa7
ae6bf7f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
arch/arm/boot/compressed/head.S
arch/arm/boot/compressed/head.S
+15
-0
No files found.
arch/arm/boot/compressed/head.S
View file @
779d33af
...
@@ -420,7 +420,11 @@ __setup_mmu: sub r3, r4, #16384 @ Page directory size
...
@@ -420,7 +420,11 @@ __setup_mmu: sub r3, r4, #16384 @ Page directory size
orr
r1
,
r1
,
#
3
<<
10
orr
r1
,
r1
,
#
3
<<
10
add
r2
,
r3
,
#
16384
add
r2
,
r3
,
#
16384
1
:
cmp
r1
,
r9
@
if
virt
>
start
of
RAM
1
:
cmp
r1
,
r9
@
if
virt
>
start
of
RAM
#ifdef CONFIG_CPU_DCACHE_WRITETHROUGH
orrhs
r1
,
r1
,
#
0x08
@
set
cacheable
#else
orrhs
r1
,
r1
,
#
0x0c
@
set
cacheable
,
bufferable
orrhs
r1
,
r1
,
#
0x0c
@
set
cacheable
,
bufferable
#endif
cmp
r1
,
r10
@
if
virt
>
end
of
RAM
cmp
r1
,
r10
@
if
virt
>
end
of
RAM
bichs
r1
,
r1
,
#
0x0c
@
clear
cacheable
,
bufferable
bichs
r1
,
r1
,
#
0x0c
@
clear
cacheable
,
bufferable
str
r1
,
[
r0
],
#
4
@
1
:
1
mapping
str
r1
,
[
r0
],
#
4
@
1
:
1
mapping
...
@@ -444,6 +448,11 @@ __setup_mmu: sub r3, r4, #16384 @ Page directory size
...
@@ -444,6 +448,11 @@ __setup_mmu: sub r3, r4, #16384 @ Page directory size
mov
pc
,
lr
mov
pc
,
lr
ENDPROC
(
__setup_mmu
)
ENDPROC
(
__setup_mmu
)
__arm926ejs_mmu_cache_on
:
#ifdef CONFIG_CPU_DCACHE_WRITETHROUGH
mov
r0
,
#
4
@
put
dcache
in
WT
mode
mcr
p15
,
7
,
r0
,
c15
,
c0
,
0
#endif
__armv4_mmu_cache_on
:
__armv4_mmu_cache_on
:
mov
r12
,
lr
mov
r12
,
lr
#ifdef CONFIG_MMU
#ifdef CONFIG_MMU
...
@@ -662,6 +671,12 @@ proc_types:
...
@@ -662,6 +671,12 @@ proc_types:
W
(
b
)
__armv4_mpu_cache_off
W
(
b
)
__armv4_mpu_cache_off
W
(
b
)
__armv4_mpu_cache_flush
W
(
b
)
__armv4_mpu_cache_flush
.
word
0x41069260
@
ARM926EJ
-
S
(
v5TEJ
)
.
word
0xff0ffff0
b
__arm926ejs_mmu_cache_on
b
__armv4_mmu_cache_off
b
__armv5tej_mmu_cache_flush
.
word
0x00007000
@
ARM7
IDs
.
word
0x00007000
@
ARM7
IDs
.
word
0x0000f000
.
word
0x0000f000
mov
pc
,
lr
mov
pc
,
lr
...
...
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