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
nexedi
linux
Commits
f5a5f430
Commit
f5a5f430
authored
Apr 05, 2014
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: l2c: imx: convert to common l2c310 early resume functionality
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
28ed53f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
21 deletions
+3
-21
arch/arm/mach-imx/suspend-imx6.S
arch/arm/mach-imx/suspend-imx6.S
+3
-21
No files found.
arch/arm/mach-imx/suspend-imx6.S
View file @
f5a5f430
...
@@ -334,28 +334,10 @@ ENDPROC(imx6_suspend)
...
@@ -334,28 +334,10 @@ ENDPROC(imx6_suspend)
*
turned
into
relative
ones
.
*
turned
into
relative
ones
.
*/
*/
#ifdef CONFIG_CACHE_L2X0
.
macro
pl310_resume
adr
r0
,
l2x0_saved_regs_offset
ldr
r2
,
[
r0
]
add
r2
,
r2
,
r0
ldr
r0
,
[
r2
,
#
L2X0_R_PHY_BASE
]
@
get
physical
base
of
l2x0
ldr
r1
,
[
r2
,
#
L2X0_R_AUX_CTRL
]
@
get
aux_ctrl
value
str
r1
,
[
r0
,
#
L2X0_AUX_CTRL
]
@
restore
aux_ctrl
mov
r1
,
#
0x1
str
r1
,
[
r0
,
#
L2X0_CTRL
]
@
re
-
enable
L2
.
endm
l2x0_saved_regs_offset
:
.
word
l2x0_saved_regs
-
.
#else
.
macro
pl310_resume
.
endm
#endif
ENTRY
(
v7_cpu_resume
)
ENTRY
(
v7_cpu_resume
)
bl
v7_invalidate_l1
bl
v7_invalidate_l1
pl310_resume
#ifdef CONFIG_CACHE_L2X0
bl
l2c310_early_resume
#endif
b
cpu_resume
b
cpu_resume
ENDPROC
(
v7_cpu_resume
)
ENDPROC
(
v7_cpu_resume
)
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