diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-16 12:23:11 +0200 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-30 09:00:34 +0200 |
commit | a2ceeef59f8fc9303dd23ebe09e9daca70799ff5 (patch) | |
tree | c25571df25c4693880cfb5548a86c2f706766939 /arch/arm/mach-mx3/devices-imx31.h | |
parent | 0e7a29a8d97c4ea86b9975e65f554c0398a8fdbf (diff) | |
download | talos-op-linux-a2ceeef59f8fc9303dd23ebe09e9daca70799ff5.tar.gz talos-op-linux-a2ceeef59f8fc9303dd23ebe09e9daca70799ff5.zip |
ARM: imx: Change the way nand devices are registered (imx31)
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-mx3/devices-imx31.h')
-rw-r--r-- | arch/arm/mach-mx3/devices-imx31.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/devices-imx31.h b/arch/arm/mach-mx3/devices-imx31.h new file mode 100644 index 000000000000..8bd8b3808cae --- /dev/null +++ b/arch/arm/mach-mx3/devices-imx31.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/mx31.h> +#include <mach/devices-common.h> + +#define imx31_add_mxc_nand(pdata) \ + imx_add_mxc_nand_v1(MX31_NFC_BASE_ADDR, MX31_INT_NANDFC, pdata) |