OpenWrt – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #ifndef __ASM_ARCH_CPU_H__
2 #define __ASM_ARCH_CPU_H__
3  
4 #include <asm/cputype.h>
5  
6 #define MCS8140_ID 0x41069260 /* ARM926EJ-S */
7 #define MCS814X_MASK 0xff0ffff0
8  
9 #ifdef CONFIG_MCS8140
10 /* Moschip MCS8140 is based on an ARM926EJ-S core */
11 #define soc_is_mcs8140() ((read_cpuid_id() & MCS814X_MASK) == MCS8140_ID)
12 #else
13 #define soc_is_mcs8140() (0)
14 #endif /* !CONFIG_MCS8140 */
15  
16 #endif /* __ASM_ARCH_CPU_H__ */