Commit 7bce7e8c authored by Sascha Hauer's avatar Sascha Hauer

ARM i.MX mxc.h: use CONFIG_SOC_* instead of CONFIG_ARCH_*

CONFIG_ARCH_* are deprecated, so remove one user.
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 6b66ef01
......@@ -68,7 +68,7 @@
extern unsigned int __mxc_cpu_type;
#endif
#ifdef CONFIG_ARCH_MX1
#ifdef CONFIG_SOC_IMX1
# ifdef mxc_cpu_type
# undef mxc_cpu_type
# define mxc_cpu_type __mxc_cpu_type
......@@ -80,7 +80,7 @@ extern unsigned int __mxc_cpu_type;
# define cpu_is_mx1() (0)
#endif
#ifdef CONFIG_MACH_MX21
#ifdef CONFIG_SOC_IMX21
# ifdef mxc_cpu_type
# undef mxc_cpu_type
# define mxc_cpu_type __mxc_cpu_type
......@@ -92,7 +92,7 @@ extern unsigned int __mxc_cpu_type;
# define cpu_is_mx21() (0)
#endif
#ifdef CONFIG_ARCH_MX25
#ifdef CONFIG_SOC_IMX25
# ifdef mxc_cpu_type
# undef mxc_cpu_type
# define mxc_cpu_type __mxc_cpu_type
......@@ -104,7 +104,7 @@ extern unsigned int __mxc_cpu_type;
# define cpu_is_mx25() (0)
#endif
#ifdef CONFIG_MACH_MX27
#ifdef CONFIG_SOC_IMX27
# ifdef mxc_cpu_type
# undef mxc_cpu_type
# define mxc_cpu_type __mxc_cpu_type
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment