[U-Boot] [PATCH v4 06/24] spi: cadence_qspi_apb: Use BIT macro

Tom Rini trini at konsulko.com
Thu Oct 22 23:24:19 CEST 2015


On Fri, Oct 23, 2015 at 02:20:06AM +0530, Jagan Teki wrote:

> Replace numerical bit shift with BIT macro in cadence_qspi_apb
> 
> :%s/(1 << nr)/BIT(nr)/g
> where nr = 0, 1, 2 .... 31
> 
> Cc: Stefan Roese <sr at denx.de>
> Cc: Vikas Manocha <vikas.manocha at st.com>
> Cc: Marek Vasut <marex at denx.de>
> Signed-off-by: Jagan Teki <jteki at openedev.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151022/613f3b03/attachment.sig>


More information about the U-Boot mailing list