system_info.h 793 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef __ASM_ARM_SYSTEM_INFO_H
  2. #define __ASM_ARM_SYSTEM_INFO_H
  3. #define CPU_ARCH_UNKNOWN 0
  4. #define CPU_ARCH_ARMv3 1
  5. #define CPU_ARCH_ARMv4 2
  6. #define CPU_ARCH_ARMv4T 3
  7. #define CPU_ARCH_ARMv5 4
  8. #define CPU_ARCH_ARMv5T 5
  9. #define CPU_ARCH_ARMv5TE 6
  10. #define CPU_ARCH_ARMv5TEJ 7
  11. #define CPU_ARCH_ARMv6 8
  12. #define CPU_ARCH_ARMv7 9
  13. #ifndef __ASSEMBLY__
  14. /* information about the system we're running on */
  15. extern unsigned int system_rev;
  16. extern unsigned int system_serial_low;
  17. extern unsigned int system_serial_high;
  18. extern unsigned int mem_fclk_21285;
  19. #ifdef CONFIG_SEC_DEBUG_SUBSYS
  20. extern const char *unit_name;
  21. extern int boost_uv;
  22. extern int speed_bin;
  23. extern int pvs_bin;
  24. #endif
  25. extern int __pure cpu_architecture(void);
  26. #endif /* !__ASSEMBLY__ */
  27. #endif /* __ASM_ARM_SYSTEM_INFO_H */