Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
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
Show more breadcrumbs
vesta
u-boot-2015.04
Commits
6002bf03
Commit
6002bf03
authored
14 years ago
by
Graeme Russ
Browse files
Options
Downloads
Patches
Plain Diff
sc520: Release CAR and enable caching
parent
e4f78d78
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/i386/cpu/sc520/sc520.c
+11
-5
11 additions, 5 deletions
arch/i386/cpu/sc520/sc520.c
with
11 additions
and
5 deletions
arch/i386/cpu/sc520/sc520.c
+
11
−
5
View file @
6002bf03
...
...
@@ -51,14 +51,20 @@ int cpu_init_f(void)
"popl %%ecx
\n
"
"loop 0b
\n
"
:
:
:
"ecx"
);
if
(
gd
->
flags
&
GD_FLG_COLD_BOOT
)
{
/* turn on the SDRAM write buffer */
writeb
(
0x11
,
&
sc520_mmcr
->
dbctl
);
}
return
x86_cpu_init_f
();
}
int
cpu_init_r
(
void
)
{
/* Disable the PAR used for CAR */
writel
(
0x0000000
,
&
sc520_mmcr
->
par
[
2
]);
/* turn on the SDRAM write buffer */
writeb
(
0x11
,
&
sc520_mmcr
->
dbctl
);
return
x86_cpu_init_r
();
}
#ifdef CONFIG_SYS_SC520_RESET
void
reset_cpu
(
ulong
addr
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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