diff options
author | Josh Wu <josh.wu@atmel.com> | 2013-05-09 15:34:55 +0800 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-08-05 20:56:15 +0100 |
commit | 1b7192658a08f70df0f290634fd7cd2ecb629fc9 (patch) | |
tree | bc6bccfafb2ff417638d8161fd188b4b3cf1e07d /include/linux/platform_data/atmel.h | |
parent | 71b94e2e866aa35f40945d9e820fc3214b792d1f (diff) | |
download | linux-stable-1b7192658a08f70df0f290634fd7cd2ecb629fc9.tar.gz linux-stable-1b7192658a08f70df0f290634fd7cd2ecb629fc9.tar.bz2 linux-stable-1b7192658a08f70df0f290634fd7cd2ecb629fc9.zip |
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 { u8 on_flash_bbt; /* bbt on flash */ struct mtd_partition *parts; unsigned int num_parts; + bool has_dma; /* support dma transfer */ /* default is false, only for at32ap7000 chip is true */ bool need_reset_workaround; |