summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/devices-imx21.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-16 11:17:45 +0200
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-30 09:00:30 +0200
commit1f8d721cd3dd1a2ee37152ce228f035212074984 (patch)
tree3a2b5ba694a4ffef0bceaeeacf46454d0511b2f3 /arch/arm/mach-imx/devices-imx21.h
parent66384eedd900f2f6bb00e4f16c2cb770d6b0066b (diff)
ARM: imx: Change the way nand devices are registered (imx21)
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-imx21.h')
-rw-r--r--arch/arm/mach-imx/devices-imx21.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices-imx21.h b/arch/arm/mach-imx/devices-imx21.h
new file mode 100644
index 000000000000..e85dcb1b4604
--- /dev/null
+++ b/arch/arm/mach-imx/devices-imx21.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/mx21.h>
+#include <mach/devices-common.h>
+
+#define imx21_add_mxc_nand(pdata) \
+ imx_add_mxc_nand_v1(MX21_NFC_BASE_ADDR, MX21_INT_NANDFC, pdata)