blob: 3860cbd401ec15389c9c2476577b838a1f1592f0 [file] [log] [blame]
David Howells9f97da72012-03-28 18:30:01 +01001#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
Catalin Marinas55bdd692010-05-21 18:06:41 +010014#define CPU_ARCH_ARMv7M 10
David Howells9f97da72012-03-28 18:30:01 +010015
16#ifndef __ASSEMBLY__
17
18/* information about the system we're running on */
19extern unsigned int system_rev;
Paul Kocialkowski3f5998752015-05-06 15:23:56 +010020extern const char *system_serial;
David Howells9f97da72012-03-28 18:30:01 +010021extern unsigned int system_serial_low;
22extern unsigned int system_serial_high;
23extern unsigned int mem_fclk_21285;
24
25extern int __pure cpu_architecture(void);
26
27#endif /* !__ASSEMBLY__ */
28
29#endif /* __ASM_ARM_SYSTEM_INFO_H */