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
c6dc21c8
Commit
c6dc21c8
authored
17 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
HMI1001: add support for MPC5200 Rev. B processors.
Signed-off-by:
Wolfgang Denk
<
wd@denx.de
>
parent
90f13dce
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
board/hmi1001/hmi1001.c
+18
-0
18 additions, 0 deletions
board/hmi1001/hmi1001.c
with
18 additions
and
0 deletions
board/hmi1001/hmi1001.c
+
18
−
0
View file @
c6dc21c8
...
@@ -147,6 +147,24 @@ long int initdram (int board_type)
...
@@ -147,6 +147,24 @@ long int initdram (int board_type)
#endif
/* CFG_RAMBOOT */
#endif
/* CFG_RAMBOOT */
/*
* On MPC5200B we need to set the special configuration delay in the
* DDR controller. Please refer to Freescale's AN3221 "MPC5200B SDRAM
* Initialization and Configuration", 3.3.1 SDelay--MBAR + 0x0190:
*
* "The SDelay should be written to a value of 0x00000004. It is
* required to account for changes caused by normal wafer processing
* parameters."
*/
svr
=
get_svr
();
pvr
=
get_pvr
();
if
((
SVR_MJREV
(
svr
)
>=
2
)
&&
(
PVR_MAJ
(
pvr
)
==
1
)
&&
(
PVR_MIN
(
pvr
)
==
4
))
{
*
(
vu_long
*
)
MPC5XXX_SDRAM_SDELAY
=
0x04
;
__asm__
volatile
(
"sync"
);
}
/* return dramsize + dramsize2; */
/* return dramsize + dramsize2; */
return
dramsize
;
return
dramsize
;
}
}
...
...
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