summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/devices-imx27.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-16 07:35:31 +0200
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-30 09:00:33 +0200
commit0e7a29a8d97c4ea86b9975e65f554c0398a8fdbf (patch)
tree3f29051d620eb0dd446e22713382c01e8fab3ed5 /arch/arm/mach-imx/devices-imx27.h
parentb0c4845c47bce6fefe5e08b1e0cbd100d62ec36b (diff)
ARM: imx: Change the way nand devices are registered (imx27)
Make use of new mechanism to register a nand device. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/devices-imx27.h')
-rw-r--r--arch/arm/mach-imx/devices-imx27.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices-imx27.h b/arch/arm/mach-imx/devices-imx27.h
new file mode 100644
index 00000000000..b2f6a12c88d
--- /dev/null
+++ b/arch/arm/mach-imx/devices-imx27.h
@@ -0,0 +1,13 @@
+/*
+ * Copyright (C) 2010 Pengutronix
+ * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License version 2 as published by the
+ * Free Software Foundation.
+ */
+#include <mach/mx27.h>
+#include <mach/devices-common.h>
+
+#define imx27_add_mxc_nand(pdata) \
+ imx_add_mxc_nand_v1(MX27_NFC_BASE_ADDR, MX27_INT_NANDFC, pdata)