]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARCv2: support HS38 releases
authorVineet Gupta <vgupta@synopsys.com>
Sun, 12 Jul 2015 07:46:50 +0000 (13:16 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 13 Jul 2015 08:03:23 +0000 (13:33 +0530)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/setup.c

index 08d98eede6e1aceadd083c59c6f6301486964cd9..18cc01591c96e64186a8b13c1aef5b8011091b12 100644 (file)
@@ -142,11 +142,15 @@ static void read_arc_build_cfg_regs(void)
 }
 
 static const struct cpuinfo_data arc_cpu_tbl[] = {
+#ifdef CONFIG_ISA_ARCOMPACT
        { {0x20, "ARC 600"      }, 0x2F},
        { {0x30, "ARC 700"      }, 0x33},
        { {0x34, "ARC 700 R4.10"}, 0x34},
        { {0x35, "ARC 700 R4.11"}, 0x35},
-       { {0x50, "ARC HS38"     }, 0x51},
+#else
+       { {0x50, "ARC HS38 R2.0"}, 0x51},
+       { {0x52, "ARC HS38 R2.1"}, 0x52},
+#endif
        { {0x00, NULL           } }
 };