diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2009-11-29 15:23:51 +0000 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-01-13 09:04:53 +0000 |
commit | f6a8c60960bbea378142d1fa1b3d111555ee41c7 (patch) | |
tree | 1928b9e3fb242b5e220ca9369ec465fd7f05a821 /include/linux/mtd | |
parent | 0f4bd46ec252887f44f1f065b41867cac8f70dfb (diff) | |
download | kernel_samsung_espresso10-f6a8c60960bbea378142d1fa1b3d111555ee41c7.zip kernel_samsung_espresso10-f6a8c60960bbea378142d1fa1b3d111555ee41c7.tar.gz kernel_samsung_espresso10-f6a8c60960bbea378142d1fa1b3d111555ee41c7.tar.bz2 |
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/mtd')
-rw-r--r-- | include/linux/mtd/pismo.h | 17 |
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 |