summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/mtd-nomadik-nand.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/mtd-nomadik-nand.h')
-rw-r--r--include/linux/platform_data/mtd-nomadik-nand.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/platform_data/mtd-nomadik-nand.h b/include/linux/platform_data/mtd-nomadik-nand.h
new file mode 100644
index 00000000000..c3c8254c22a
--- /dev/null
+++ b/include/linux/platform_data/mtd-nomadik-nand.h
@@ -0,0 +1,16 @@
+#ifndef __ASM_ARCH_NAND_H
+#define __ASM_ARCH_NAND_H
+
+struct nomadik_nand_platform_data {
+ struct mtd_partition *parts;
+ int nparts;
+ int options;
+ int (*init) (void);
+ int (*exit) (void);
+};
+
+#define NAND_IO_DATA 0x40000000
+#define NAND_IO_CMD 0x40800000
+#define NAND_IO_ADDR 0x41000000
+
+#endif /* __ASM_ARCH_NAND_H */