From: Peter Tyser Date: Thu, 21 May 2009 15:25:37 -0500 Subject: [U-Boot] [PATCH 08/11] 8xxx: Rename dma_xfer() to dmacpy() In-Reply-To: <20090521174602.GA4218@b07421-ec1.am.freescale.net> References: <20090521174602.GA4218@b07421-ec1.am.freescale.net> Message-ID: <1242937537.26746.39.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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