diff options
author | Alison Wang <b18965@freescale.com> | 2012-07-26 15:24:38 +0800 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2012-09-12 16:49:39 -0400 |
commit | e426e71b4fe2b2907cba29f7be472e68efe2e47e (patch) | |
tree | c29b3a4647969a83e808803dbcb2d665cd0b0f30 /arch/arm/plat-mxc/include/mach/mxc.h | |
parent | f01398b9af3cc8ad75bb60628753dc517a952c5a (diff) |
ENGR00180931-1 mvf: add MSL support for MVF platform
Add MSL support for MVF platform.
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Alison Wang <b18965@freescale.com>
Signed-off-by: Jingchang Lu <b35083@freescale.com>
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); |