On Fri, Mar 21, 2014 at 05:01:43PM -0400, Murali Karicheri wrote:

> Ethernet driver configures the CPSW, SGMI and Phy and uses
> the the Navigator APIs. The driver supports 4 Ethernet ports and
> can work with only one port at a time.
> 
> Port configurations are defined in board.c.
> 
> Signed-off-by: Vitaly Andrianov <vita...@ti.com>
> Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
> Signed-off-by: WingMan Kwok <w-kw...@ti.com>
[snip]
> +#define reg_rmw(addr, value, mask) \
> +     writel(((readl(addr) & (~(mask))) | (value)), (addr))

Don't we have something in asm/io.h that does this already?

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to