18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __ASM_ARM_SYSTEM_INFO_H 38c2ecf20Sopenharmony_ci#define __ASM_ARM_SYSTEM_INFO_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#define CPU_ARCH_UNKNOWN 0 68c2ecf20Sopenharmony_ci#define CPU_ARCH_ARMv3 1 78c2ecf20Sopenharmony_ci#define CPU_ARCH_ARMv4 2 88c2ecf20Sopenharmony_ci#define CPU_ARCH_ARMv4T 3 98c2ecf20Sopenharmony_ci#define CPU_ARCH_ARMv5 4 108c2ecf20Sopenharmony_ci#define CPU_ARCH_ARMv5T 5 118c2ecf20Sopenharmony_ci#define CPU_ARCH_ARMv5TE 6 128c2ecf20Sopenharmony_ci#define CPU_ARCH_ARMv5TEJ 7 138c2ecf20Sopenharmony_ci#define CPU_ARCH_ARMv6 8 148c2ecf20Sopenharmony_ci#define CPU_ARCH_ARMv7 9 158c2ecf20Sopenharmony_ci#define CPU_ARCH_ARMv7M 10 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#ifndef __ASSEMBLY__ 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci/* information about the system we're running on */ 208c2ecf20Sopenharmony_ciextern unsigned int system_rev; 218c2ecf20Sopenharmony_ciextern const char *system_serial; 228c2ecf20Sopenharmony_ciextern unsigned int system_serial_low; 238c2ecf20Sopenharmony_ciextern unsigned int system_serial_high; 248c2ecf20Sopenharmony_ciextern unsigned int mem_fclk_21285; 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciextern int __pure cpu_architecture(void); 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci#endif /* !__ASSEMBLY__ */ 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci#endif /* __ASM_ARM_SYSTEM_INFO_H */ 31