diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-06-30 17:15:45 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-07-01 23:07:47 -0500 |
commit | 7892f619d40f4196e41e7114c5dfee9fad0f572f (patch) | |
tree | 9d8a0e475dc86e8ce331bb4213fb6b3ba42552db /drivers/dma | |
parent | 484919cf3351212ebf748b9b13ece1ddaf7e7d1c (diff) | |
download | u-boot-7892f619d40f4196e41e7114c5dfee9fad0f572f.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/fsl_dma.c b/drivers/dma/fsl_dma.c index f05880230b..49ea8f105d 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; |