[U-Boot] [PATCH 08/11] 8xxx: Rename dma_xfer() to dmacpy()

Peter Tyser ptyser at xes-inc.com
Thu May 21 22:25:37 CEST 2009


On Thu, 2009-05-21 at 12:46 -0500, Scott Wood wrote:
> On Thu, May 21, 2009 at 12:10:06PM -0500, Peter Tyser wrote:
> > -int dma_xfer(void *dest, uint count, void *src) {
> > +int dmacpy(void *dest, const void *src, size_t n) {
> 
> While we're changing this, perhaps it should take phys_addr_t rather than
> pointers?

It looks like addresses > 32bits can be used by using a few bits in the
SATR/DATR so you're right, using phys_addr_t/phys_size_t makes sense.

Thanks,
Peter



More information about the U-Boot mailing list