You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
407 B
C

#ifndef __ASM_ARCH_CPU_H__
#define __ASM_ARCH_CPU_H__
#include <asm/cputype.h>
#define MCS8140_ID 0x41069260 /* ARM926EJ-S */
#define MCS814X_MASK 0xff0ffff0
#ifdef CONFIG_MCS8140
/* Moschip MCS8140 is based on an ARM926EJ-S core */
#define soc_is_mcs8140() ((read_cpuid_id() & MCS814X_MASK) == MCS8140_ID)
#else
#define soc_is_mcs8140() (0)
#endif /* !CONFIG_MCS8140 */
#endif /* __ASM_ARCH_CPU_H__ */