diff options
| author | Lee Jones <lee.jones@linaro.org> | 2013-05-03 10:31:54 -0400 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2013-05-23 15:10:53 -0400 |
| commit | 29027a1e1121a1c9c5e726cf09dc2e9789a282f3 (patch) | |
| tree | 1b6abfb8bbda191e0bb9aa35457f5d9bf7648acb /include/linux/platform_data | |
| parent | a2acaa2163566ad2e04b10fdf81de650e9b9261b (diff) | |
dmaengine: ste_dma40: Move default memcpy configs into the driver
There are only two default memcpy configurations used for the DMA40
driver; one for physical memcpy and one for logical memcpy. Instead
of invariably passing the same configurations though platform data,
we're moving them into the driver instead.
Acked-by: Vinod Koul <vnod.koul@intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/dma-ste-dma40.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/platform_data/dma-ste-dma40.h b/include/linux/platform_data/dma-ste-dma40.h index a8087843a99b..869c571c8c08 100644 --- a/include/linux/platform_data/dma-ste-dma40.h +++ b/include/linux/platform_data/dma-ste-dma40.h | |||
| @@ -141,8 +141,6 @@ struct stedma40_chan_cfg { | |||
| 141 | * @dev_len: length of dev_tx and dev_rx | 141 | * @dev_len: length of dev_tx and dev_rx |
| 142 | * @dev_tx: mapping between destination event line and io address | 142 | * @dev_tx: mapping between destination event line and io address |
| 143 | * @dev_rx: mapping between source event line and io address | 143 | * @dev_rx: mapping between source event line and io address |
| 144 | * @memcpy_conf_phy: default configuration of physical channel memcpy | ||
| 145 | * @memcpy_conf_log: default configuration of logical channel memcpy | ||
| 146 | * @disabled_channels: A vector, ending with -1, that marks physical channels | 144 | * @disabled_channels: A vector, ending with -1, that marks physical channels |
| 147 | * that are for different reasons not available for the driver. | 145 | * that are for different reasons not available for the driver. |
| 148 | * @soft_lli_chans: A vector, that marks physical channels will use LLI by SW | 146 | * @soft_lli_chans: A vector, that marks physical channels will use LLI by SW |
| @@ -160,8 +158,6 @@ struct stedma40_platform_data { | |||
| 160 | u32 dev_len; | 158 | u32 dev_len; |
| 161 | const dma_addr_t *dev_tx; | 159 | const dma_addr_t *dev_tx; |
| 162 | const dma_addr_t *dev_rx; | 160 | const dma_addr_t *dev_rx; |
| 163 | struct stedma40_chan_cfg *memcpy_conf_phy; | ||
| 164 | struct stedma40_chan_cfg *memcpy_conf_log; | ||
| 165 | int disabled_channels[STEDMA40_MAX_PHYS]; | 161 | int disabled_channels[STEDMA40_MAX_PHYS]; |
| 166 | int *soft_lli_chans; | 162 | int *soft_lli_chans; |
| 167 | int num_of_soft_lli_chans; | 163 | int num_of_soft_lli_chans; |
