From: Tom Rini Date: Fri, 28 Mar 2014 11:49:43 -0400 Subject: [U-Boot] [RESEND PATCH v3 2/2] keystone2: net: add keystone ethernet driver In-Reply-To: <1395435703-30165-3-git-send-email-m-karicheri2@ti.com> References: <1395435703-30165-1-git-send-email-m-karicheri2@ti.com> <1395435703-30165-3-git-send-email-m-karicheri2@ti.com> Message-ID: <20140328154943.GQ16360@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Murali Karicheri > Signed-off-by: WingMan Kwok [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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: