summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2009-11-29 15:23:51 +0000
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-01-13 09:04:53 +0000
commitf6a8c60960bbea378142d1fa1b3d111555ee41c7 (patch)
tree1928b9e3fb242b5e220ca9369ec465fd7f05a821 /include/linux
parent0f4bd46ec252887f44f1f065b41867cac8f70dfb (diff)
downloadop-kernel-dev-f6a8c60960bbea378142d1fa1b3d111555ee41c7.zip
op-kernel-dev-f6a8c60960bbea378142d1fa1b3d111555ee41c7.tar.gz
mtd: Really add ARM pismo support
(Commit 7cb777a3d71f9d1f7eb149c7a504d21f24219ae8 (mtd: add ARM pismo support) intended to add this, but seems only to have patched the Makefile without touching Kconfig or providing any code...) The following patch adds support for PISMO modules found on ARM Ltd development platforms. These are MTD modules, and can have a selection of SRAM, flash or DOC devices as described by an on-board I2C EEPROM. We support SRAM and NOR flash devices only by registering appropriate conventional MTD platform devices as children of the 'pismo' device. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/pismo.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/mtd/pismo.h b/include/linux/mtd/pismo.h
new file mode 100644
index 0000000..8dfb7e1
--- /dev/null
+++ b/include/linux/mtd/pismo.h
@@ -0,0 +1,17 @@
+/*
+ * PISMO memory driver - http://www.pismoworld.org/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License.
+ */
+#ifndef __LINUX_MTD_PISMO_H
+#define __LINUX_MTD_PISMO_H
+
+struct pismo_pdata {
+ void (*set_vpp)(void *, int);
+ void *vpp_data;
+ phys_addr_t cs_addrs[5];
+};
+
+#endif
OpenPOWER on IntegriCloud