vortex.c 788 B

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