On Thu, Mar 27, 2014 at 11:59:10AM -0400, Murali Karicheri wrote: > From: Vitaly Andrianov <[email protected]> > > 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
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

