[U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

Timur Tabi timur at tabi.org
Sat Oct 5 16:31:40 CEST 2013


On Fri, Oct 4, 2013 at 11:25 AM, Claudiu Manoil
<claudiu.manoil at freescale.com> wrote:

> [v3] declaring the BDs as __iomem to avoid casting submitted:
> http://patchwork.ozlabs.org/patch/280664/

+ out_be32(&regs->tbase, (u32)&txbd[0]);
+ out_be32(&regs->rbase, (u32)&rxbd[0]);

&rxbd[0] is a virtual address.

Doesn't rbase require a physical address?  You're assuming that virt == phys.


More information about the U-Boot mailing list