aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach/mx27.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-12-16 11:30:27 -0500
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-01-08 10:41:25 -0500
commitbc9ea6c7f5352f8857525b054bc3df784be1b8d5 (patch)
treec79ae8cd7f61b80c36cc9509a8cf95fc0bef19d8 /arch/arm/plat-mxc/include/mach/mx27.h
parenta3f5ac7838a93977f71288310336a725eb6e62db (diff)
imx27: define and use MX27_IO_ADDRESS
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Russell King <linux@arm.linux.org.uk> Cc: Rabin Vincent <rabin@rab.in> Cc: Javier Martin <javier.martin@vista-silicon.com> Cc: Valentin Longchamp <valentin.longchamp@epfl.ch> Cc: Holger Schurig <hs4233@mail.mn-solutions.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mx27.h')
-rw-r--r--arch/arm/plat-mxc/include/mach/mx27.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx27.h b/arch/arm/plat-mxc/include/mach/mx27.h
index e2ae19f51710..cd292ffc1f7e 100644
--- a/arch/arm/plat-mxc/include/mach/mx27.h
+++ b/arch/arm/plat-mxc/include/mach/mx27.h
@@ -114,6 +114,11 @@
114/* IRAM */ 114/* IRAM */
115#define MX27_IRAM_BASE_ADDR 0xffff4c00 /* internal ram */ 115#define MX27_IRAM_BASE_ADDR 0xffff4c00 /* internal ram */
116 116
117#define MX27_IO_ADDRESS(x) ( \
118 IMX_IO_ADDRESS(x, MX27_AIPI) ?: \
119 IMX_IO_ADDRESS(x, MX27_SAHB1) ?: \
120 IMX_IO_ADDRESS(x, MX27_X_MEMC))
121
117/* fixed interrupt numbers */ 122/* fixed interrupt numbers */
118#define MX27_INT_I2C2 1 123#define MX27_INT_I2C2 1
119#define MX27_INT_GPT6 2 124#define MX27_INT_GPT6 2