projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de14a5a
)
powerpc: mpc85xx: Show e500 core version
author
Pali Rohár
<pali@kernel.org>
Sat, 2 Apr 2022 22:05:10 +0000
(
00:05
+0200)
committer
Priyanka Jain
<priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000
(17:18 +0530)
Distinguish between e500v1 and e500v2.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/cpu/mpc85xx/cpu.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc85xx/cpu.c
b/arch/powerpc/cpu/mpc85xx/cpu.c
index
cc1d02d
..
a82516a
100644
(file)
--- a/
arch/powerpc/cpu/mpc85xx/cpu.c
+++ b/
arch/powerpc/cpu/mpc85xx/cpu.c
@@
-143,8
+143,10
@@
int checkcpu (void)
printf("Core: ");
switch(ver) {
case PVR_VER_E500_V1:
+ puts("e500v1");
+ break;
case PVR_VER_E500_V2:
- puts("e500");
+ puts("e500
v2
");
break;
case PVR_VER_E500MC:
puts("e500mc");