Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rk3576 Downstream U-Boot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
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
Nicolas Frattaroli
Rk3576 Downstream U-Boot
Commits
9af019f5
Commit
9af019f5
authored
15 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
git://git.denx.de/u-boot-ppc4xx
parents
918319c7
514bab66
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
board/amcc/canyonlands/chip_config.c
+18
-16
18 additions, 16 deletions
board/amcc/canyonlands/chip_config.c
include/configs/canyonlands.h
+4
-0
4 additions, 0 deletions
include/configs/canyonlands.h
with
22 additions
and
16 deletions
board/amcc/canyonlands/chip_config.c
+
18
−
16
View file @
9af019f5
...
...
@@ -34,45 +34,46 @@ struct ppc4xx_config ppc4xx_config_val[] = {
}
},
{
"
6
00-n
and
"
,
"N
AND
CPU:
6
00 PLB: 200 OPB: 100 EBC: 100"
,
"
8
00-n
or
"
,
"N
OR
CPU:
8
00 PLB: 200 OPB: 100 EBC: 100"
,
{
0x86
,
0x80
,
0x
ce
,
0x1
f
,
0x
7
9
,
0x
9
0
,
0x0
1
,
0xa0
,
0x
a
0
,
0x
e
8
,
0x23
,
0x5
8
,
0x0d
,
0x05
,
0x00
,
0x00
0x86
,
0x80
,
0x
ba
,
0x1
4
,
0x
9
9
,
0x
8
0
,
0x0
0
,
0xa0
,
0x
4
0
,
0x
0
8
,
0x23
,
0x5
0
,
0x0d
,
0x05
,
0x00
,
0x00
}
},
{
"
8
00-nor"
,
"NOR CPU:
8
00 PLB: 200 OPB: 100 EBC: 100"
,
"
10
00-nor"
,
"NOR CPU:
10
00 PLB: 200 OPB: 100 EBC: 100"
,
{
0x86
,
0x8
0
,
0x
ba
,
0x1
4
,
0x
9
9
,
0x80
,
0x00
,
0xa0
,
0x86
,
0x8
2
,
0x
96
,
0x1
9
,
0x
b
9
,
0x80
,
0x00
,
0xa0
,
0x40
,
0x08
,
0x23
,
0x50
,
0x0d
,
0x05
,
0x00
,
0x00
}
},
{
"
800-nand
"
,
"N
AND
CPU:
800
PLB: 2
00
OPB:
100
EBC:
100
"
,
"
1066-nor
"
,
"N
OR
CPU:
1066
PLB: 2
66
OPB:
88
EBC:
88
"
,
{
0x86
,
0x80
,
0xb
a
,
0x1
4
,
0x9
9
,
0x
9
0
,
0x0
1
,
0xa0
,
0x
a
0
,
0x
e
8
,
0x23
,
0x5
8
,
0x0d
,
0x05
,
0x00
,
0x00
0x86
,
0x80
,
0xb
3
,
0x
0
1
,
0x9
d
,
0x
8
0
,
0x0
0
,
0xa0
,
0x
4
0
,
0x
0
8
,
0x23
,
0x5
0
,
0x0d
,
0x05
,
0x00
,
0x00
}
},
#if !defined(CONFIG_ARCHES)
{
"
10
00-n
or
"
,
"N
OR
CPU:
10
00 PLB: 200 OPB: 100 EBC: 100"
,
"
6
00-n
and
"
,
"N
AND
CPU:
6
00 PLB: 200 OPB: 100 EBC: 100"
,
{
0x86
,
0x8
2
,
0x
96
,
0x1
9
,
0x
b
9
,
0x
8
0
,
0x0
0
,
0xa0
,
0x
4
0
,
0x
0
8
,
0x23
,
0x5
0
,
0x0d
,
0x05
,
0x00
,
0x00
0x86
,
0x8
0
,
0x
ce
,
0x1
f
,
0x
7
9
,
0x
9
0
,
0x0
1
,
0xa0
,
0x
a
0
,
0x
e
8
,
0x23
,
0x5
8
,
0x0d
,
0x05
,
0x00
,
0x00
}
},
{
"
10
00-nand"
,
"NAND CPU:
10
00 PLB: 200 OPB: 100 EBC: 100"
,
"
8
00-nand"
,
"NAND CPU:
8
00 PLB: 200 OPB: 100 EBC: 100"
,
{
0x86
,
0x8
2
,
0x
96
,
0x1
9
,
0x
b
9
,
0x90
,
0x01
,
0xa0
,
0x86
,
0x8
0
,
0x
ba
,
0x1
4
,
0x
9
9
,
0x90
,
0x01
,
0xa0
,
0xa0
,
0xe8
,
0x23
,
0x58
,
0x0d
,
0x05
,
0x00
,
0x00
}
},
{
"10
66-nor
"
,
"N
OR
CPU:10
66
PLB: 2
66
OPB:
88
EBC:
88
"
,
"10
00-nand
"
,
"N
AND
CPU:10
00
PLB: 2
00
OPB:
100
EBC:
100
"
,
{
0x86
,
0x8
0
,
0x
b3
,
0x
0
1
,
0x9
d
,
0x
8
0
,
0x0
0
,
0xa0
,
0x
4
0
,
0x
0
8
,
0x23
,
0x5
0
,
0x0d
,
0x05
,
0x00
,
0x00
0x86
,
0x8
2
,
0x
96
,
0x1
9
,
0x
b
9
,
0x
9
0
,
0x0
1
,
0xa0
,
0x
a
0
,
0x
e
8
,
0x23
,
0x5
8
,
0x0d
,
0x05
,
0x00
,
0x00
}
},
{
...
...
@@ -82,6 +83,7 @@ struct ppc4xx_config ppc4xx_config_val[] = {
0xa0
,
0xe8
,
0x23
,
0x58
,
0x0d
,
0x05
,
0x00
,
0x00
}
},
#endif
};
int
ppc4xx_config_count
=
ARRAY_SIZE
(
ppc4xx_config_val
);
This diff is collapsed.
Click to expand it.
include/configs/canyonlands.h
+
4
−
0
View file @
9af019f5
...
...
@@ -331,7 +331,11 @@
#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 10
/* I2C bootstrap EEPROM */
#if defined(CONFIG_ARCHES)
#define CONFIG_4xx_CONFIG_I2C_EEPROM_ADDR 0x54
#else
#define CONFIG_4xx_CONFIG_I2C_EEPROM_ADDR 0x52
#endif
#define CONFIG_4xx_CONFIG_I2C_EEPROM_OFFSET 0
#define CONFIG_4xx_CONFIG_BLOCKSIZE 16
...
...
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