diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2014-05-13 09:46:16 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-05-16 03:35:25 -0400 |
commit | d9654dceb315ccdabf4a5494109a4cc0fb2408a4 (patch) | |
tree | 4e17d1e5d9621e18602c9553a0db5fabd6a38fab /arch/arm/mach-imx/mxc.h | |
parent | d55135689019c3a0b26bccd400d90c6d2fd13439 (diff) |
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.h | 6 |
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 @@ | |||
36 | #define MXC_CPU_MX53 53 | 36 | #define MXC_CPU_MX53 53 |
37 | #define MXC_CPU_IMX6SL 0x60 | 37 | #define MXC_CPU_IMX6SL 0x60 |
38 | #define MXC_CPU_IMX6DL 0x61 | 38 | #define MXC_CPU_IMX6DL 0x61 |
39 | #define MXC_CPU_IMX6SX 0x62 | ||
39 | #define MXC_CPU_IMX6Q 0x63 | 40 | #define MXC_CPU_IMX6Q 0x63 |
40 | 41 | ||
41 | #define IMX_CHIP_REVISION_1_0 0x10 | 42 | #define IMX_CHIP_REVISION_1_0 0x10 |
@@ -163,6 +164,11 @@ static inline bool cpu_is_imx6dl(void) | |||
163 | return __mxc_cpu_type == MXC_CPU_IMX6DL; | 164 | return __mxc_cpu_type == MXC_CPU_IMX6DL; |
164 | } | 165 | } |
165 | 166 | ||
167 | static inline bool cpu_is_imx6sx(void) | ||
168 | { | ||
169 | return __mxc_cpu_type == MXC_CPU_IMX6SX; | ||
170 | } | ||
171 | |||
166 | static inline bool cpu_is_imx6q(void) | 172 | static inline bool cpu_is_imx6q(void) |
167 | { | 173 | { |
168 | return __mxc_cpu_type == MXC_CPU_IMX6Q; | 174 | return __mxc_cpu_type == MXC_CPU_IMX6Q; |