1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/kernel.h>
3 #include <asm/processor.h>
4 #include "cpu.h"
5 
6 /*
7  * No special init required for Vortex processors.
8  */
9 
10 static const struct cpu_dev vortex_cpu_dev = {
11 	.c_vendor	= "Vortex",
12 	.c_ident	= { "Vortex86 SoC" },
13 	.legacy_models	= {
14 		{
15 			.family = 5,
16 			.model_names = {
17 				[2] = "Vortex86DX",
18 				[8] = "Vortex86MX",
19 			},
20 		},
21 		{
22 			.family = 6,
23 			.model_names = {
24 				/*
25 				 * Both the Vortex86EX and the Vortex86EX2
26 				 * have the same family and model id.
27 				 *
28 				 * However, the -EX2 supports the product name
29 				 * CPUID call, so this name will only be used
30 				 * for the -EX, which does not.
31 				 */
32 				[0] = "Vortex86EX",
33 			},
34 		},
35 	},
36 	.c_x86_vendor	= X86_VENDOR_VORTEX,
37 };
38 
39 cpu_dev_register(vortex_cpu_dev);
40