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
5e182dce
Commit
5e182dce
authored
17 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
Branches
Branches containing commit
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)
* enabled. This will only work for the same memory
* 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_MCOPT1
,
0x05
1
22000
);
mtsdram
(
SDRAM_MCOPT1
,
0x05
3
22000
);
mtsdram
(
SDRAM_MODT0
,
0x01000000
);
mtsdram
(
SDRAM_CODT
,
0x00800021
);
mtsdram
(
SDRAM_WRDTR
,
0x82000823
);
...
...
@@ -62,7 +62,7 @@ long int initdram(int board_type)
mtsdram
(
SDRAM_RTR
,
0x06180000
);
mtsdram
(
SDRAM_SDTR1
,
0x80201000
);
mtsdram
(
SDRAM_SDTR2
,
0x42103243
);
mtsdram
(
SDRAM_SDTR3
,
0x0A0D0D1
6
);
mtsdram
(
SDRAM_SDTR3
,
0x0A0D0D1
A
);
mtsdram
(
SDRAM_MMODE
,
0x00000632
);
mtsdram
(
SDRAM_MEMODE
,
0x00000040
);
mtsdram
(
SDRAM_INITPLR0
,
0xB5380000
);
...
...
@@ -86,7 +86,7 @@ long int initdram(int board_type)
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_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