Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
uboot-imx
Commits
2902fada
Commit
2902fada
authored
Jan 31, 2007
by
Stefan Roese
Browse files
[PATCH] Update 440EPx/440GRx cpu detection
Signed-off-by:
Stefan Roese
<
sr@denx.de
>
parent
d5ea287b
Changes
2
Hide whitespace changes
Inline
Side-by-side
cpu/ppc4xx/cpu.c
View file @
2902fada
...
...
@@ -312,25 +312,29 @@ int checkcpu (void)
#endif
/* CONFIG_440GR */
#endif
/* CONFIG_440 */
case
PVR_440EPX1_RA
:
#ifdef CONFIG_440EPX
case
PVR_440EPX1_RA
:
/* 440EPx rev A and 440GRx rev A have same PVR */
puts
(
"EPx Rev. A"
);
strcpy
(
addstr
,
"Security/Kasumi support"
);
break
;
case
PVR_440EPX2_RA
:
case
PVR_440EPX2_RA
:
/* 440EPx rev A and 440GRx rev A have same PVR */
puts
(
"EPx Rev. A"
);
strcpy
(
addstr
,
"No Security/Kasumi support"
);
break
;
#endif
/* CONFIG_440EPX */
case
PVR_440GRX1_RA
:
#ifdef CONFIG_440GRX
case
PVR_440GRX1_RA
:
/* 440EPx rev A and 440GRx rev A have same PVR */
puts
(
"GRx Rev. A"
);
strcpy
(
addstr
,
"Security/Kasumi support"
);
break
;
case
PVR_440GRX2_RA
:
case
PVR_440GRX2_RA
:
/* 440EPx rev A and 440GRx rev A have same PVR */
puts
(
"GRx Rev. A"
);
strcpy
(
addstr
,
"No Security/Kasumi support"
);
break
;
#endif
/* CONFIG_440GRX */
case
PVR_440SP_6_RAB
:
puts
(
"SP Rev. A/B"
);
...
...
include/asm-ppc/processor.h
View file @
2902fada
...
...
@@ -740,8 +740,8 @@
#define PVR_440GR_RB 0x422218D4
/* 440EP rev C and 440GR rev B have same PVR */
#define PVR_440EPX1_RA 0x216218D0
/* 440EPX rev A with Security / Kasumi */
#define PVR_440EPX2_RA 0x216218D4
/* 440EPX rev A without Security / Kasumi */
#define PVR_440GRX1_RA 0x216218D
8
/* 440GRX rev A with Security / Kasumi */
#define PVR_440GRX2_RA 0x216218D
C
/* 440GRX rev A without Security / Kasumi */
#define PVR_440GRX1_RA 0x216218D
0
/* 440GRX rev A with Security / Kasumi */
#define PVR_440GRX2_RA 0x216218D
4
/* 440GRX rev A without Security / Kasumi */
#define PVR_440GX_RA 0x51B21850
#define PVR_440GX_RB 0x51B21851
#define PVR_440GX_RC 0x51B21892
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment