diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mtd/fsmc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mtd/fsmc.h b/include/linux/mtd/fsmc.h index c4ac07a19691..1edd2b3ac38e 100644 --- a/include/linux/mtd/fsmc.h +++ b/include/linux/mtd/fsmc.h | |||
| @@ -141,6 +141,11 @@ struct fsmc_nand_timings { | |||
| 141 | uint8_t tset; | 141 | uint8_t tset; |
| 142 | }; | 142 | }; |
| 143 | 143 | ||
| 144 | enum access_mode { | ||
| 145 | USE_DMA_ACCESS = 1, | ||
| 146 | USE_WORD_ACCESS, | ||
| 147 | }; | ||
| 148 | |||
| 144 | /** | 149 | /** |
| 145 | * fsmc_nand_platform_data - platform specific NAND controller config | 150 | * fsmc_nand_platform_data - platform specific NAND controller config |
| 146 | * @partitions: partition table for the platform, use a default fallback | 151 | * @partitions: partition table for the platform, use a default fallback |
| @@ -164,6 +169,7 @@ struct fsmc_nand_platform_data { | |||
| 164 | /* CLE, ALE offsets */ | 169 | /* CLE, ALE offsets */ |
| 165 | unsigned long cle_off; | 170 | unsigned long cle_off; |
| 166 | unsigned long ale_off; | 171 | unsigned long ale_off; |
| 172 | enum access_mode mode; | ||
| 167 | 173 | ||
| 168 | void (*select_bank)(uint32_t bank, uint32_t busw); | 174 | void (*select_bank)(uint32_t bank, uint32_t busw); |
| 169 | }; | 175 | }; |
