summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/mach/flash.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 08:55:53 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 08:55:53 -0800
commitac111bfaa6b0b3c0edc63c27bd9617d6b08851ff (patch)
tree69c98b53ce9f269952d3e6f1f39fdba4b3d96544 /include/asm-arm/mach/flash.h
parent19da9b8b6ef80e4b1f870c0d270df32571fdaad6 (diff)
parent861e37ad5969f764574722f4cfc0734511cbac7f (diff)
Merge master.kernel.org:/home/rmk/linux-2.6-arm
Diffstat (limited to 'include/asm-arm/mach/flash.h')
-rw-r--r--include/asm-arm/mach/flash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/mach/flash.h b/include/asm-arm/mach/flash.h
index cd57436d987..05b029ef637 100644
--- a/include/asm-arm/mach/flash.h
+++ b/include/asm-arm/mach/flash.h
@@ -11,6 +11,7 @@
#define ASMARM_MACH_FLASH_H
struct mtd_partition;
+struct mtd_info;
/*
* map_name: the map probe function name
@@ -19,6 +20,7 @@ struct mtd_partition;
* init: method called at driver/device initialisation
* exit: method called at driver/device removal
* set_vpp: method called to enable or disable VPP
+ * mmcontrol: method called to enable or disable Sync. Burst Read in OneNAND
* parts: optional array of mtd_partitions for static partitioning
* nr_parts: number of mtd_partitions for static partitoning
*/
@@ -29,6 +31,7 @@ struct flash_platform_data {
int (*init)(void);
void (*exit)(void);
void (*set_vpp)(int on);
+ void (*mmcontrol)(struct mtd_info *mtd, int sync_read);
struct mtd_partition *parts;
unsigned int nr_parts;
};