Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spec-sw
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
fmc-projects
spec
spec-sw
Commits
0010068a
Commit
0010068a
authored
12 years ago
by
Tomasz Wlostowski
Committed by
Alessandro Rubini
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix loader
parent
693019ef
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kernel/spec-core.c
+2
-2
2 additions, 2 deletions
kernel/spec-core.c
with
2 additions
and
2 deletions
kernel/spec-core.c
+
2
−
2
View file @
0010068a
...
...
@@ -162,7 +162,7 @@ int spec_load_lm32(struct spec_dev *dev)
dev
->
names
[
SPEC_NAME_PROG
],
fw
->
size
,
fw
->
size
);
/* Reset the LM32 */
writel
(
0x1deadbee
,
dev
->
remap
[
0
]
+
0x
A
0400
);
writel
(
0x1deadbee
,
dev
->
remap
[
0
]
+
spec_lm32_addr
+
0x
2
0400
);
/* Copy stuff over */
for
(
off
=
0
;
off
<
fw
->
size
;
off
+=
4
)
{
...
...
@@ -172,7 +172,7 @@ int spec_load_lm32(struct spec_dev *dev)
writel
(
datum
,
dev
->
remap
[
0
]
+
spec_lm32_addr
+
off
);
}
/* Unreset the LM32 */
writel
(
0xdeadbee
,
dev
->
remap
[
0
]
+
0x
A
0400
);
writel
(
0xdeadbee
,
dev
->
remap
[
0
]
+
spec_lm32_addr
+
0x
2
0400
);
/* MSC */
pr_info
(
"LM32 has been restarted
\n
"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment