xref: /openbmc/linux/arch/arm/include/asm/system_info.h (revision 9f380456)
1 #ifndef __ASM_ARM_SYSTEM_INFO_H
2 #define __ASM_ARM_SYSTEM_INFO_H
3 
4 #define CPU_ARCH_UNKNOWN	0
5 #define CPU_ARCH_ARMv3		1
6 #define CPU_ARCH_ARMv4		2
7 #define CPU_ARCH_ARMv4T		3
8 #define CPU_ARCH_ARMv5		4
9 #define CPU_ARCH_ARMv5T		5
10 #define CPU_ARCH_ARMv5TE	6
11 #define CPU_ARCH_ARMv5TEJ	7
12 #define CPU_ARCH_ARMv6		8
13 #define CPU_ARCH_ARMv7		9
14 
15 #ifndef __ASSEMBLY__
16 
17 /* information about the system we're running on */
18 extern unsigned int system_rev;
19 extern unsigned int system_serial_low;
20 extern unsigned int system_serial_high;
21 extern unsigned int mem_fclk_21285;
22 
23 extern int __pure cpu_architecture(void);
24 
25 #endif /* !__ASSEMBLY__ */
26 
27 #endif /* __ASM_ARM_SYSTEM_INFO_H */
28