summaryrefslogtreecommitdiffstats
path: root/include/linux/amba
diff options
context:
space:
mode:
authorBoojin Kim <boojin.kim@samsung.com>2011-09-02 09:44:30 +0900
committerVinod Koul <vinod.koul@intel.com>2011-09-14 11:10:01 +0530
commit1b9bb715e7c4c189c4215a11a09e2ccb16598d86 (patch)
treee274c2a58ec31185e0871255a5fd64c177ee4898 /include/linux/amba
parenta2f5203fec3c06d68a6bb45ad41f2adebf9ac5e0 (diff)
downloadlinux-stable-1b9bb715e7c4c189c4215a11a09e2ccb16598d86.tar.gz
linux-stable-1b9bb715e7c4c189c4215a11a09e2ccb16598d86.tar.bz2
linux-stable-1b9bb715e7c4c189c4215a11a09e2ccb16598d86.zip
DMA: PL330: Update PL330 DMA API driver
This patch updates following 3 items. 1. Removes unneccessary code. 2. Add AMBA, PL330 configuration 3. Change the meaning of 'peri_id' variable from PL330 event number to specific dma id by user. Signed-off-by: Boojin Kim <boojin.kim@samsung.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Vinod Koul <vinod.koul@intel.com> Cc: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/amba')
-rw-r--r--include/linux/amba/pl330.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/amba/pl330.h b/include/linux/amba/pl330.h
index cbee7de7dd36..d12f077a6daf 100644
--- a/include/linux/amba/pl330.h
+++ b/include/linux/amba/pl330.h
@@ -19,12 +19,8 @@ struct dma_pl330_peri {
* Peri_Req i/f of the DMAC that is
* peripheral could be reached from.
*/
- u8 peri_id; /* {0, 31} */
+ u8 peri_id; /* specific dma id */
enum pl330_reqtype rqtype;
-
- /* For M->D and D->M Channels */
- int burst_sz; /* in power of 2 */
- dma_addr_t fifo_addr;
};
struct dma_pl330_platdata {