diff options
| author | Kyungmin Park <kyungmin.park@samsung.com> | 2005-11-09 10:15:10 -0500 |
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-09 10:15:10 -0500 |
| commit | 861e37ad5969f764574722f4cfc0734511cbac7f (patch) | |
| tree | 694942dfcbaaab7871c842e61db5dbd41c3a172b /include | |
| parent | 59d1ff3bfb56d9b8cf3ec864857e6a4dfd9d2dba (diff) | |
[ARM] 3057/1: Add memory control method to support OneNAND sync burst read
Patch from Kyungmin Park
This patch is required for OneNAND MTD to passing the OneNAND sync. burst read
Signed-off-by: Kyungmin Park
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
| -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 | }; |
