diff options
author | Josh Wu <josh.wu@atmel.com> | 2013-05-09 03:34:55 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-08-05 15:56:15 -0400 |
commit | 1b7192658a08f70df0f290634fd7cd2ecb629fc9 (patch) | |
tree | bc6bccfafb2ff417638d8161fd188b4b3cf1e07d /include/linux/platform_data/atmel.h | |
parent | 71b94e2e866aa35f40945d9e820fc3214b792d1f (diff) |
mtd: atmel_nand: add a new dt binding item for nand dma support
This patch will set the nand dma support in dts. Since we will not use
cpu_is_xxx() in nand driver. We needn't include the mach/cpu.h any more.
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/platform_data/atmel.h')
-rw-r--r-- | include/linux/platform_data/atmel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/atmel.h b/include/linux/platform_data/atmel.h index 59f558d9b81e..cea9f70133c5 100644 --- a/include/linux/platform_data/atmel.h +++ b/include/linux/platform_data/atmel.h | |||
@@ -71,6 +71,7 @@ struct atmel_nand_data { | |||
71 | u8 on_flash_bbt; /* bbt on flash */ | 71 | u8 on_flash_bbt; /* bbt on flash */ |
72 | struct mtd_partition *parts; | 72 | struct mtd_partition *parts; |
73 | unsigned int num_parts; | 73 | unsigned int num_parts; |
74 | bool has_dma; /* support dma transfer */ | ||
74 | 75 | ||
75 | /* default is false, only for at32ap7000 chip is true */ | 76 | /* default is false, only for at32ap7000 chip is true */ |
76 | bool need_reset_workaround; | 77 | bool need_reset_workaround; |