summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mxc.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@freescale.com>2014-05-13 15:46:16 +0200
committerShawn Guo <shawn.guo@freescale.com>2014-05-16 09:35:25 +0200
commitd9654dceb315ccdabf4a5494109a4cc0fb2408a4 (patch)
tree4e17d1e5d9621e18602c9553a0db5fabd6a38fab /arch/arm/mach-imx/mxc.h
parentARM: imx: add clock driver for imx6sx (diff)
downloadlinux-d9654dceb315ccdabf4a5494109a4cc0fb2408a4.tar.xz
linux-d9654dceb315ccdabf4a5494109a4cc0fb2408a4.zip
ARM: imx: add basic imx6sx SoC support
Add basic suppport for i.MX6 SoloX SoC. Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/mxc.h')
-rw-r--r--arch/arm/mach-imx/mxc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mxc.h b/arch/arm/mach-imx/mxc.h
index b08ab3ad4a6d..75d6a37e1ae4 100644
--- a/arch/arm/mach-imx/mxc.h
+++ b/arch/arm/mach-imx/mxc.h
@@ -36,6 +36,7 @@
#define MXC_CPU_MX53 53
#define MXC_CPU_IMX6SL 0x60
#define MXC_CPU_IMX6DL 0x61
+#define MXC_CPU_IMX6SX 0x62
#define MXC_CPU_IMX6Q 0x63
#define IMX_CHIP_REVISION_1_0 0x10
@@ -163,6 +164,11 @@ static inline bool cpu_is_imx6dl(void)
return __mxc_cpu_type == MXC_CPU_IMX6DL;
}
+static inline bool cpu_is_imx6sx(void)
+{
+ return __mxc_cpu_type == MXC_CPU_IMX6SX;
+}
+
static inline bool cpu_is_imx6q(void)
{
return __mxc_cpu_type == MXC_CPU_IMX6Q;