summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include/mach/imx-nand.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-10-22 14:21:25 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-10-22 14:21:25 +0200
commitf6a579da9c6c3e2d776f9251bcc727f6e17c0a11 (patch)
treeee85d7902996c70bffe668b5d7172dee24c46574 /arch/arm/mach-imx/include/mach/imx-nand.h
parent9956bdf77d7dbc61fe0f923917d2cdce3e2b40e5 (diff)
downloadbarebox-f6a579da9c6c3e2d776f9251bcc727f6e17c0a11.tar.gz
barebox-f6a579da9c6c3e2d776f9251bcc727f6e17c0a11.tar.xz
[ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/mach-imx/include/mach/imx-nand.h')
-rw-r--r--arch/arm/mach-imx/include/mach/imx-nand.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/include/mach/imx-nand.h b/arch/arm/mach-imx/include/mach/imx-nand.h
new file mode 100644
index 0000000000..500bb1a9e4
--- /dev/null
+++ b/arch/arm/mach-imx/include/mach/imx-nand.h
@@ -0,0 +1,14 @@
+#ifndef __ASM_ARCH_NAND_H
+#define __ASM_ARCH_NAND_H
+
+#include <linux/mtd/mtd.h>
+
+void imx_nand_load_image(void *dest, int size, int pagesize, int blocksize);
+
+struct imx_nand_platform_data {
+ int width;
+ int hw_ecc;
+ int is2k;
+ };
+#endif /* __ASM_ARCH_NAND_H */
+