Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 #include <linux/kernel.h>
0003 #include <asm/processor.h>
0004 #include "cpu.h"
0005 
0006 /*
0007  * No special init required for Vortex processors.
0008  */
0009 
0010 static const struct cpu_dev vortex_cpu_dev = {
0011     .c_vendor   = "Vortex",
0012     .c_ident    = { "Vortex86 SoC" },
0013     .legacy_models  = {
0014         {
0015             .family = 5,
0016             .model_names = {
0017                 [2] = "Vortex86DX",
0018                 [8] = "Vortex86MX",
0019             },
0020         },
0021         {
0022             .family = 6,
0023             .model_names = {
0024                 /*
0025                  * Both the Vortex86EX and the Vortex86EX2
0026                  * have the same family and model id.
0027                  *
0028                  * However, the -EX2 supports the product name
0029                  * CPUID call, so this name will only be used
0030                  * for the -EX, which does not.
0031                  */
0032                 [0] = "Vortex86EX",
0033             },
0034         },
0035     },
0036     .c_x86_vendor   = X86_VENDOR_VORTEX,
0037 };
0038 
0039 cpu_dev_register(vortex_cpu_dev);