summaryrefslogtreecommitdiff
path: root/arch/microblaze/kernel/cpu/cpuinfo.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2012-12-19 10:52:19 +0100
committerMichal Simek <michal.simek@xilinx.com>2013-05-09 09:04:31 +0200
commit6dc92c9c3f209cb07fbf282b470ed76787bbc5f8 (patch)
tree524e424973a7042649ee47a09ce7e91e3602acbc /arch/microblaze/kernel/cpu/cpuinfo.c
parent08aaefa0dfea1e467c6a8522efe83a3c92a8c61c (diff)
microblaze: Add support for new cpu versions and target architecture
Update PVR values based on reference manual. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/kernel/cpu/cpuinfo.c')
-rw-r--r--arch/microblaze/kernel/cpu/cpuinfo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/cpu/cpuinfo.c b/arch/microblaze/kernel/cpu/cpuinfo.c
index 0b2299bcb948..410398f6db55 100644
--- 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},
};