diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-10 04:12:10 -0500 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-10 04:12:10 -0500 |
| commit | 2f67bdb23d74a6c6fd4f98f64239c5c34d1833cc (patch) | |
| tree | fe533abe3e7c400848647b95e4806f5125c654c3 /include/asm-arm/mach/flash.h | |
| parent | d40d9d29c020f8466c96f8e3ad4b7c014ff1085d (diff) | |
| parent | 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 (diff) | |
Merge branch 'master'
Diffstat (limited to 'include/asm-arm/mach/flash.h')
| -rw-r--r-- | include/asm-arm/mach/flash.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/mach/flash.h b/include/asm-arm/mach/flash.h index cd57436d9874..05b029ef6371 100644 --- a/include/asm-arm/mach/flash.h +++ b/include/asm-arm/mach/flash.h | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | #define ASMARM_MACH_FLASH_H | 11 | #define ASMARM_MACH_FLASH_H |
| 12 | 12 | ||
| 13 | struct mtd_partition; | 13 | struct mtd_partition; |
| 14 | struct mtd_info; | ||
| 14 | 15 | ||
| 15 | /* | 16 | /* |
| 16 | * map_name: the map probe function name | 17 | * map_name: the map probe function name |
| @@ -19,6 +20,7 @@ struct mtd_partition; | |||
| 19 | * init: method called at driver/device initialisation | 20 | * init: method called at driver/device initialisation |
| 20 | * exit: method called at driver/device removal | 21 | * exit: method called at driver/device removal |
| 21 | * set_vpp: method called to enable or disable VPP | 22 | * set_vpp: method called to enable or disable VPP |
| 23 | * mmcontrol: method called to enable or disable Sync. Burst Read in OneNAND | ||
| 22 | * parts: optional array of mtd_partitions for static partitioning | 24 | * parts: optional array of mtd_partitions for static partitioning |
| 23 | * nr_parts: number of mtd_partitions for static partitoning | 25 | * nr_parts: number of mtd_partitions for static partitoning |
| 24 | */ | 26 | */ |
| @@ -29,6 +31,7 @@ struct flash_platform_data { | |||
| 29 | int (*init)(void); | 31 | int (*init)(void); |
| 30 | void (*exit)(void); | 32 | void (*exit)(void); |
| 31 | void (*set_vpp)(int on); | 33 | void (*set_vpp)(int on); |
| 34 | void (*mmcontrol)(struct mtd_info *mtd, int sync_read); | ||
| 32 | struct mtd_partition *parts; | 35 | struct mtd_partition *parts; |
| 33 | unsigned int nr_parts; | 36 | unsigned int nr_parts; |
| 34 | }; | 37 | }; |
