diff options
author | Jonas Aaberg <jonas.aberg@stericsson.com> | 2010-06-20 17:26:22 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-06-22 21:01:56 -0400 |
commit | ef934aea861323820cb39051e94a52319f456fbe (patch) | |
tree | 351926ba0c971c2c2b5234e224b1ca0103ccb4e0 /arch/arm/mach-ux500/devices-db8500.c | |
parent | 5aa12e8c9c57741606e52f43e62ab1b9dc8e9dcc (diff) |
DMAENGINE: ste_dma40: no flow control on memcpy
On memcpy DMA operations we don't need flow control.
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/arm/mach-ux500/devices-db8500.c')
-rw-r--r-- | arch/arm/mach-ux500/devices-db8500.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c index 638964e614e9..8d94bc673aa4 100644 --- a/arch/arm/mach-ux500/devices-db8500.c +++ b/arch/arm/mach-ux500/devices-db8500.c | |||
@@ -140,11 +140,12 @@ struct stedma40_chan_cfg dma40_memcpy_conf_phy = { | |||
140 | .src_info.endianess = STEDMA40_LITTLE_ENDIAN, | 140 | .src_info.endianess = STEDMA40_LITTLE_ENDIAN, |
141 | .src_info.data_width = STEDMA40_BYTE_WIDTH, | 141 | .src_info.data_width = STEDMA40_BYTE_WIDTH, |
142 | .src_info.psize = STEDMA40_PSIZE_PHY_1, | 142 | .src_info.psize = STEDMA40_PSIZE_PHY_1, |
143 | .src_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL, | ||
143 | 144 | ||
144 | .dst_info.endianess = STEDMA40_LITTLE_ENDIAN, | 145 | .dst_info.endianess = STEDMA40_LITTLE_ENDIAN, |
145 | .dst_info.data_width = STEDMA40_BYTE_WIDTH, | 146 | .dst_info.data_width = STEDMA40_BYTE_WIDTH, |
146 | .dst_info.psize = STEDMA40_PSIZE_PHY_1, | 147 | .dst_info.psize = STEDMA40_PSIZE_PHY_1, |
147 | 148 | .dst_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL, | |
148 | }; | 149 | }; |
149 | /* Default configuration for logical memcpy */ | 150 | /* Default configuration for logical memcpy */ |
150 | struct stedma40_chan_cfg dma40_memcpy_conf_log = { | 151 | struct stedma40_chan_cfg dma40_memcpy_conf_log = { |
@@ -157,11 +158,12 @@ struct stedma40_chan_cfg dma40_memcpy_conf_log = { | |||
157 | .src_info.endianess = STEDMA40_LITTLE_ENDIAN, | 158 | .src_info.endianess = STEDMA40_LITTLE_ENDIAN, |
158 | .src_info.data_width = STEDMA40_BYTE_WIDTH, | 159 | .src_info.data_width = STEDMA40_BYTE_WIDTH, |
159 | .src_info.psize = STEDMA40_PSIZE_LOG_1, | 160 | .src_info.psize = STEDMA40_PSIZE_LOG_1, |
161 | .src_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL, | ||
160 | 162 | ||
161 | .dst_info.endianess = STEDMA40_LITTLE_ENDIAN, | 163 | .dst_info.endianess = STEDMA40_LITTLE_ENDIAN, |
162 | .dst_info.data_width = STEDMA40_BYTE_WIDTH, | 164 | .dst_info.data_width = STEDMA40_BYTE_WIDTH, |
163 | .dst_info.psize = STEDMA40_PSIZE_LOG_1, | 165 | .dst_info.psize = STEDMA40_PSIZE_LOG_1, |
164 | 166 | .dst_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL, | |
165 | }; | 167 | }; |
166 | 168 | ||
167 | /* | 169 | /* |