Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
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
Service Desk
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
Jack Humbert
reform-boundary-uboot
Commits
baa3d528
Commit
baa3d528
authored
21 years ago
by
Stefan Roese
Browse files
Options
Downloads
Patches
Plain Diff
Changed PPC405GPr version from A to B.
parent
c1551ea8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
cpu/ppc4xx/cpu.c
+3
-3
3 additions, 3 deletions
cpu/ppc4xx/cpu.c
cpu/ppc4xx/cpu_init.c
+1
-1
1 addition, 1 deletion
cpu/ppc4xx/cpu_init.c
cpu/ppc4xx/speed.c
+1
-1
1 addition, 1 deletion
cpu/ppc4xx/speed.c
include/asm-ppc/processor.h
+1
-1
1 addition, 1 deletion
include/asm-ppc/processor.h
with
6 additions
and
6 deletions
cpu/ppc4xx/cpu.c
+
3
−
3
View file @
baa3d528
...
...
@@ -67,7 +67,7 @@ int checkcpu (void)
#if CONFIG_405GP
puts
(
"IBM PowerPC 405GP"
);
if
(
pvr
==
PVR_405GPR_R
A
)
{
if
(
pvr
==
PVR_405GPR_R
B
)
{
putc
(
'r'
);
}
puts
(
" Rev. "
);
...
...
@@ -77,6 +77,7 @@ int checkcpu (void)
#endif
switch
(
pvr
)
{
case
PVR_405GP_RB
:
case
PVR_405GPR_RB
:
putc
(
'B'
);
break
;
case
PVR_405GP_RC
:
...
...
@@ -94,7 +95,6 @@ int checkcpu (void)
break
;
#endif
case
PVR_405CR_RA
:
case
PVR_405GPR_RA
:
putc
(
'A'
);
break
;
case
PVR_405CR_RB
:
...
...
@@ -122,7 +122,7 @@ int checkcpu (void)
printf
(
"external PCI arbiter enabled
\n
"
);
#endif
if
((
pvr
|
0x00000001
)
==
PVR_405GPR_R
A
)
{
if
((
pvr
|
0x00000001
)
==
PVR_405GPR_R
B
)
{
printf
(
" 16 kB I-Cache 16 kB D-Cache"
);
}
else
{
printf
(
" 16 kB I-Cache 8 kB D-Cache"
);
...
...
This diff is collapsed.
Click to expand it.
cpu/ppc4xx/cpu_init.c
+
1
−
1
View file @
baa3d528
...
...
@@ -149,7 +149,7 @@ int cpu_init_r (void)
* Set edge conditioning circuitry on PPC405GPr
* for compatibility to existing PPC405GP designs.
*/
if
((
pvr
&
0xfffffff0
)
==
(
PVR_405GPR_R
A
&
0xfffffff0
))
{
if
((
pvr
&
0xfffffff0
)
==
(
PVR_405GPR_R
B
&
0xfffffff0
))
{
mtdcr
(
ecr
,
0x60606000
);
}
...
...
This diff is collapsed.
Click to expand it.
cpu/ppc4xx/speed.c
+
1
−
1
View file @
baa3d528
...
...
@@ -87,7 +87,7 @@ void get_sys_info (PPC405_SYS_INFO * sysInfo)
/*
* Check if PPC405GPr used (mask minor revision field)
*/
if
((
pvr
&
0xfffffff0
)
==
(
PVR_405GPR_R
A
&
0xfffffff0
))
{
if
((
pvr
&
0xfffffff0
)
==
(
PVR_405GPR_R
B
&
0xfffffff0
))
{
/*
* Determine FWD_DIV B (only PPC405GPr with new mode strapping).
*/
...
...
This diff is collapsed.
Click to expand it.
include/asm-ppc/processor.h
+
1
−
1
View file @
baa3d528
...
...
@@ -462,7 +462,7 @@
#define PVR_405CR_RA 0x40110041
#define PVR_405CR_RB 0x401100C5
#define PVR_405CR_RC 0x40110145
/* same as pc405gp rev e */
#define PVR_405GPR_R
A
0x50910951
#define PVR_405GPR_R
B
0x50910951
#define PVR_440GP_RB 0x40120440
#define PVR_440GP_RC 0x40120481
#define PVR_601 0x00010000
...
...
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