summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mxc.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@freescale.com>2014-05-13 21:46:16 +0800
committerShawn Guo <shawn.guo@freescale.com>2014-05-16 15:35:25 +0800
commitd9654dceb315ccdabf4a5494109a4cc0fb2408a4 (patch)
tree4e17d1e5d9621e18602c9553a0db5fabd6a38fab /arch/arm/mach-imx/mxc.h
parentd55135689019c3a0b26bccd400d90c6d2fd13439 (diff)
downloadblackbird-op-linux-d9654dceb315ccdabf4a5494109a4cc0fb2408a4.tar.gz
blackbird-op-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;
OpenPOWER on IntegriCloud