projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08aaefa
)
microblaze: Add support for new cpu versions and target architecture
author
Michal Simek
<michal.simek@xilinx.com>
Wed, 19 Dec 2012 09:52:19 +0000
(10:52 +0100)
committer
Michal Simek
<michal.simek@xilinx.com>
Thu, 9 May 2013 07:04:31 +0000
(09:04 +0200)
Update PVR values based on reference manual.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/kernel/cpu/cpuinfo.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/cpu/cpuinfo.c
b/arch/microblaze/kernel/cpu/cpuinfo.c
index
0b2299b
..
410398f
100644
(file)
--- a/
arch/microblaze/kernel/cpu/cpuinfo.c
+++ b/
arch/microblaze/kernel/cpu/cpuinfo.c
@@
-37,6
+37,8
@@
const struct cpu_ver_key cpu_ver_lookup[] = {
{"8.20.a", 0x15},
{"8.20.b", 0x16},
{"8.30.a", 0x17},
+ {"8.40.a", 0x18},
+ {"8.40.b", 0x19},
{NULL, 0},
};
@@
-57,6
+59,9
@@
const struct family_string_key family_string_lookup[] = {
{"virtex6", 0xe},
/* FIXME There is no key code defined for spartan2 */
{"spartan2", 0xf0},
+ {"kintex7", 0x10},
+ {"artix7", 0x11},
+ {"zynq7000", 0x12},
{NULL, 0},
};