Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_ARM_SYSTEM_INFO_H
0003 #define __ASM_ARM_SYSTEM_INFO_H
0004 
0005 #define CPU_ARCH_UNKNOWN    0
0006 #define CPU_ARCH_ARMv3      1
0007 #define CPU_ARCH_ARMv4      2
0008 #define CPU_ARCH_ARMv4T     3
0009 #define CPU_ARCH_ARMv5      4
0010 #define CPU_ARCH_ARMv5T     5
0011 #define CPU_ARCH_ARMv5TE    6
0012 #define CPU_ARCH_ARMv5TEJ   7
0013 #define CPU_ARCH_ARMv6      8
0014 #define CPU_ARCH_ARMv7      9
0015 #define CPU_ARCH_ARMv7M     10
0016 
0017 #ifndef __ASSEMBLY__
0018 
0019 /* information about the system we're running on */
0020 extern unsigned int system_rev;
0021 extern const char *system_serial;
0022 extern unsigned int system_serial_low;
0023 extern unsigned int system_serial_high;
0024 extern unsigned int mem_fclk_21285;
0025 
0026 extern int __pure cpu_architecture(void);
0027 
0028 #endif /* !__ASSEMBLY__ */
0029 
0030 #endif /* __ASM_ARM_SYSTEM_INFO_H */