summaryrefslogtreecommitdiffstats
path: root/include/nand.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-06-04 09:40:44 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-06-06 09:30:39 +0200
commit3d45abb7c4be454b6f2a7ede06fe961a04131083 (patch)
treef2e4581d485f0a6f285f3c6f62dd973330743e20 /include/nand.h
parentf3351ebd7864b83b1f5f3cdc7c8a9f9110cb562f (diff)
downloadbarebox-3d45abb7c4be454b6f2a7ede06fe961a04131083.tar.gz
barebox-3d45abb7c4be454b6f2a7ede06fe961a04131083.tar.xz
[NAND] continue to make it work. Now works partly on at91sam9260
Diffstat (limited to 'include/nand.h')
-rw-r--r--include/nand.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/nand.h b/include/nand.h
new file mode 100644
index 0000000000..97b17056ea
--- /dev/null
+++ b/include/nand.h
@@ -0,0 +1,15 @@
+
+#ifndef __NAND_H__
+#define __NAND_H__
+
+struct nand_chip;
+
+struct nand_platform_data {
+ void (*hwcontrol)(struct nand_chip *, int cmd);
+ int eccmode;
+ int (*dev_ready)(struct nand_chip *);
+ int chip_delay;
+};
+
+#endif /* __NAND_H__ */
+