Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Florian Mayer
u-boot
Commits
5e182dce
Commit
5e182dce
authored
16 years ago
by
Stefan Roese
Browse files
Options
Downloads
Patches
Plain Diff
ppc4xx: Adjust Canyonlands fixed DDR2 setup (NAND booting) to 512MB SODIMM
Signed-off-by:
Stefan Roese
<
sr@denx.de
>
parent
fe7c0db6
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
nand_spl/board/amcc/canyonlands/ddr2_fixed.c
+4
-4
4 additions, 4 deletions
nand_spl/board/amcc/canyonlands/ddr2_fixed.c
with
4 additions
and
4 deletions
nand_spl/board/amcc/canyonlands/ddr2_fixed.c
+
4
−
4
View file @
5e182dce
...
@@ -49,11 +49,11 @@ long int initdram(int board_type)
...
@@ -49,11 +49,11 @@ long int initdram(int board_type)
* enabled. This will only work for the same memory
* enabled. This will only work for the same memory
* configuration as used here:
* configuration as used here:
*
*
* Crucial CT
32
64AC53E.4F
D
-
256
MB SO-DIMM
* Crucial CT
64
64AC53E.4F
E
-
512
MB SO-DIMM
*
*
*/
*/
mtsdram
(
SDRAM_MCOPT2
,
0x00000000
);
mtsdram
(
SDRAM_MCOPT2
,
0x00000000
);
mtsdram
(
SDRAM_MCOPT1
,
0x05
1
22000
);
mtsdram
(
SDRAM_MCOPT1
,
0x05
3
22000
);
mtsdram
(
SDRAM_MODT0
,
0x01000000
);
mtsdram
(
SDRAM_MODT0
,
0x01000000
);
mtsdram
(
SDRAM_CODT
,
0x00800021
);
mtsdram
(
SDRAM_CODT
,
0x00800021
);
mtsdram
(
SDRAM_WRDTR
,
0x82000823
);
mtsdram
(
SDRAM_WRDTR
,
0x82000823
);
...
@@ -62,7 +62,7 @@ long int initdram(int board_type)
...
@@ -62,7 +62,7 @@ long int initdram(int board_type)
mtsdram
(
SDRAM_RTR
,
0x06180000
);
mtsdram
(
SDRAM_RTR
,
0x06180000
);
mtsdram
(
SDRAM_SDTR1
,
0x80201000
);
mtsdram
(
SDRAM_SDTR1
,
0x80201000
);
mtsdram
(
SDRAM_SDTR2
,
0x42103243
);
mtsdram
(
SDRAM_SDTR2
,
0x42103243
);
mtsdram
(
SDRAM_SDTR3
,
0x0A0D0D1
6
);
mtsdram
(
SDRAM_SDTR3
,
0x0A0D0D1
A
);
mtsdram
(
SDRAM_MMODE
,
0x00000632
);
mtsdram
(
SDRAM_MMODE
,
0x00000632
);
mtsdram
(
SDRAM_MEMODE
,
0x00000040
);
mtsdram
(
SDRAM_MEMODE
,
0x00000040
);
mtsdram
(
SDRAM_INITPLR0
,
0xB5380000
);
mtsdram
(
SDRAM_INITPLR0
,
0xB5380000
);
...
@@ -86,7 +86,7 @@ long int initdram(int board_type)
...
@@ -86,7 +86,7 @@ long int initdram(int board_type)
wait_init_complete
();
wait_init_complete
();
mtdcr
(
SDRAM_R0BAS
,
0x0000F
8
00
);
/* MQ0_B0BAS */
mtdcr
(
SDRAM_R0BAS
,
0x0000F
0
00
);
/* MQ0_B0BAS */
mtsdram
(
SDRAM_RDCC
,
0x40000000
);
mtsdram
(
SDRAM_RDCC
,
0x40000000
);
mtsdram
(
SDRAM_RQDC
,
0x80000038
);
mtsdram
(
SDRAM_RQDC
,
0x80000038
);
...
...
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