[U-Boot] [PATCH v4 7/9] k2hk: add support for k2hk SOC and EVM
Tom Rini
trini at ti.com
Fri Mar 28 18:47:32 CET 2014
On Thu, Mar 27, 2014 at 11:59:10AM -0400, Murali Karicheri wrote:
> From: Vitaly Andrianov <vitalya at ti.com>
>
> 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: <http://lists.denx.de/pipermail/u-boot/attachments/20140328/66e4b9ff/attachment.pgp>
More information about the U-Boot
mailing list