
On 10 May 2015 at 20:52, Jagan Teki jteki@openedev.com wrote:
I have sent one v1 for BIT macro change for entire u-boot, but this time I'm just introduce by changing this with spi/sf code, will send more in changes in future.
Along with BIT and also introduces GENMASK with spi/sf code.
Changes for v2: - break the BIT macro patch only for spi/sf code.
thanks! Jagan.
Jagan Teki (5): spi/sf: Add BIT macro in linux/bitops.h spi: Remove #define BIT in local file spi/sf: Use BIT macro from linux/bitops.h linux/bitops.h: GENMASK copy from linux spi: Use GENMASK instead of numeric hexcodes
Any comments on this series - early push will have enough time to test and I have more patches that need to use these macros.
drivers/mtd/spi/sandbox.c | 4 +-- drivers/mtd/spi/sf_internal.h | 36 ++++++++++---------- drivers/spi/altera_spi.c | 26 +++++++-------- drivers/spi/atmel_spi.h | 54 +++++++++++++++--------------- drivers/spi/bfin_spi6xx.c | 8 ++--- drivers/spi/cadence_qspi_apb.c | 76 +++++++++++++++++++++--------------------- drivers/spi/davinci_spi.c | 2 -- drivers/spi/designware_spi.c | 16 ++++----- drivers/spi/ep93xx_spi.c | 6 +--- drivers/spi/exynos_spi.c | 4 +-- drivers/spi/fsl_dspi.c | 2 +- drivers/spi/fsl_espi.c | 20 +++++------ drivers/spi/fsl_qspi.c | 6 ++-- drivers/spi/ich.c | 4 +-- drivers/spi/mpc8xxx_spi.c | 2 +- drivers/spi/mxs_spi.c | 2 +- drivers/spi/omap3_spi.h | 64 +++++++++++++++++------------------ drivers/spi/sh_qspi.c | 16 ++++----- drivers/spi/tegra114_spi.c | 76 +++++++++++++++++++++--------------------- drivers/spi/tegra20_sflash.c | 54 +++++++++++++++--------------- drivers/spi/tegra20_slink.c | 60 ++++++++++++++++----------------- drivers/spi/ti_qspi.c | 10 +++--- drivers/spi/xilinx_spi.c | 46 ++++++++++++------------- drivers/spi/zynq_spi.c | 22 ++++++------ include/linux/bitops.h | 12 +++++++ include/spi.h | 46 ++++++++++++------------- 26 files changed, 340 insertions(+), 334 deletions(-)
-- 1.9.1
thanks!