projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aced4cb
)
MIPS: Add MIPS P5600 probe support
author
James Hogan
<
[email protected]
>
Wed, 22 Jan 2014 16:19:39 +0000
(16:19 +0000)
committer
Ralf Baechle
<
[email protected]
>
Wed, 26 Mar 2014 22:09:11 +0000
(23:09 +0100)
Add a case in cpu_probe_mips for the MIPS P5600 processor ID, which sets
the CPU type to the new CPU_P5600.
Signed-off-by: James Hogan <
[email protected]
>
Reviewed-by: Markos Chandras <
[email protected]
>
Cc:
[email protected]
Patchwork: https://patchwork.linux-mips.org/patch/6409/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/kernel/cpu-probe.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/cpu-probe.c
b/arch/mips/kernel/cpu-probe.c
index dec20f580ceae1dc47404614b9afafe94b59c657..0b9bbcb64afdec8a2432e12811fb690a7856de65 100644
(file)
--- a/
arch/mips/kernel/cpu-probe.c
+++ b/
arch/mips/kernel/cpu-probe.c
@@
-844,6
+844,10
@@
static inline void cpu_probe_mips(struct cpuinfo_mips *c, unsigned int cpu)
c->cputype = CPU_PROAPTIV;
__cpu_name[cpu] = "MIPS proAptiv (multi)";
break;
+ case PRID_IMP_P5600:
+ c->cputype = CPU_P5600;
+ __cpu_name[cpu] = "MIPS P5600";
+ break;
}
decode_configs(c);