diff options
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mxc.h')
-rwxr-xr-x | arch/arm/plat-mxc/include/mach/mxc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mxc.h b/arch/arm/plat-mxc/include/mach/mxc.h index c8f18052c6af..afcf1255150b 100755 --- a/arch/arm/plat-mxc/include/mach/mxc.h +++ b/arch/arm/plat-mxc/include/mach/mxc.h @@ -38,6 +38,7 @@ #define MXC_CPU_MX53 53 #define MXC_CPU_MX6Q 63 #define MXC_CPU_MX6DL 61 +#define MXC_CPU_MVF 54 #define IMX_CHIP_REVISION_1_0 0x10 #define IMX_CHIP_REVISION_1_1 0x11 @@ -229,6 +230,13 @@ extern unsigned int __mxc_cpu_type; # define cpu_is_mx6dl() (0) #endif +#ifdef CONFIG_SOC_MVFA5 +# define mxc_cpu_type __mxc_cpu_type +# define cpu_is_mvf() (mxc_cpu_type == MXC_CPU_MVF) +#else +# define cpu_is_mvf() (0) +#endif + #ifndef __ASSEMBLY__ #ifdef CONFIG_SOC_IMX6Q extern int mx6q_revision(void); |