summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-06-30 17:15:45 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-07-01 23:07:47 -0500
commit7892f619d40f4196e41e7114c5dfee9fad0f572f (patch)
tree9d8a0e475dc86e8ce331bb4213fb6b3ba42552db /drivers/dma
parent484919cf3351212ebf748b9b13ece1ddaf7e7d1c (diff)
downloadu-boot-imx-7892f619d40f4196e41e7114c5dfee9fad0f572f.zip
u-boot-imx-7892f619d40f4196e41e7114c5dfee9fad0f572f.tar.gz
u-boot-imx-7892f619d40f4196e41e7114c5dfee9fad0f572f.tar.bz2
8xxx: Rename dma_xfer() to dmacpy()
Also update dmacpy()'s argument order to match memcpy's and use phys_addr_t/phy_size_t for address/size arguments Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/fsl_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/fsl_dma.c b/drivers/dma/fsl_dma.c
index f058802..49ea8f1 100644
--- a/drivers/dma/fsl_dma.c
+++ b/drivers/dma/fsl_dma.c
@@ -78,7 +78,7 @@ void dma_init(void) {
dma_sync();
}
-int dma_xfer(void *dest, uint count, void *src) {
+int dmacpy(phys_addr_t dest, phys_addr_t src, phys_size_t count) {
volatile fsl_dma_t *dma = &dma_base->dma[0];
uint xfer_size;