mirror of https://gitee.com/openkylin/linux.git
ARM: imx: remove some deprecated and unused #defines
LAKML-Reference: 1302464943-20721-6-git-send-email-u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
d286a43aa2
commit
7f5e6b089d
|
@ -194,13 +194,6 @@ enum mxc_cpu_pwr_mode {
|
||||||
extern struct cpu_op *(*get_cpu_op)(int *op);
|
extern struct cpu_op *(*get_cpu_op)(int *op);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_MX3) || defined(CONFIG_ARCH_MX2)
|
|
||||||
/* These are deprecated, use mx[23][157]_setup_weimcs instead. */
|
|
||||||
#define CSCR_U(n) (IO_ADDRESS(WEIM_BASE_ADDR + n * 0x10))
|
|
||||||
#define CSCR_L(n) (IO_ADDRESS(WEIM_BASE_ADDR + n * 0x10 + 0x4))
|
|
||||||
#define CSCR_A(n) (IO_ADDRESS(WEIM_BASE_ADDR + n * 0x10 + 0x8))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define cpu_is_mx3() (cpu_is_mx31() || cpu_is_mx35())
|
#define cpu_is_mx3() (cpu_is_mx31() || cpu_is_mx35())
|
||||||
#define cpu_is_mx2() (cpu_is_mx21() || cpu_is_mx27())
|
#define cpu_is_mx2() (cpu_is_mx21() || cpu_is_mx27())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue