From: Tom Rini Date: Fri, 28 Mar 2014 13:47:32 -0400 Subject: [U-Boot] [PATCH v4 7/9] k2hk: add support for k2hk SOC and EVM In-Reply-To: <1395935952-11542-8-git-send-email-m-karicheri2@ti.com> References: <1395935952-11542-1-git-send-email-m-karicheri2@ti.com> <1395935952-11542-8-git-send-email-m-karicheri2@ti.com> Message-ID: <20140328174732.GT16360@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 Thu, Mar 27, 2014 at 11:59:10AM -0400, Murali Karicheri wrote: > From: Vitaly Andrianov > > k2hk EVM is based on Texas Instruments Keystone2 Hawking/Kepler > SoC. Keystone2 SoC has ARM v7 Cortex-A15 MPCore processor. Please > refer the ti/k2hk_evm/README for details on the board, build and other > information. > > This patch add support for keystone architecture and k2hk evm. [snip] > +#define reg_rmw(reg, mask, val) \ > + __raw_writel((__raw_readl((reg)) & ~(mask)) | ((val) & (mask)) , \ > + (reg)); > + > +#define reg_setbits(reg, bits) \ > + __raw_writel((__raw_readl(reg) | (bits)) , (reg)); > + > +#define reg_clrbits(reg, bits) \ > + __raw_writel((__raw_readl(reg) & ~(bits)) , (reg)); I think the first one is just another way of saying clrsetbits_le32 (or can be re-written as such), but reg_setbits/reg_clrbits are convertable to setbits/clrbits. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: