Skip to content

Commit a9fbc38

Browse files
committed
ARCv2: support HS38 releases
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
1 parent a18b8e6 commit a9fbc38

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

arch/arc/kernel/setup.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,15 @@ static void read_arc_build_cfg_regs(void)
142142
}
143143

144144
static const struct cpuinfo_data arc_cpu_tbl[] = {
145+
#ifdef CONFIG_ISA_ARCOMPACT
145146
{ {0x20, "ARC 600" }, 0x2F},
146147
{ {0x30, "ARC 700" }, 0x33},
147148
{ {0x34, "ARC 700 R4.10"}, 0x34},
148149
{ {0x35, "ARC 700 R4.11"}, 0x35},
149-
{ {0x50, "ARC HS38" }, 0x51},
150+
#else
151+
{ {0x50, "ARC HS38 R2.0"}, 0x51},
152+
{ {0x52, "ARC HS38 R2.1"}, 0x52},
153+
#endif
150154
{ {0x00, NULL } }
151155
};
152156

0 commit comments

Comments
 (0)