u-boot/drivers/spi
Ye Li 34cf0e9cb5 MLK-20157 spi: mxc_spi: Fix build warning on ARM64 platforms
When building mxc_spi driver on ARM64 platforms like iMX8MM, get
such build warnings below. Fix it in this patch.

In file included from include/common.h:48:0,
 from drivers/spi/mxc_spi.c:9:
 drivers/spi/mxc_spi.c: In function ‘spi_xchg_single’:
drivers/spi/mxc_spi.c:232:21: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]
 _func_, bitlen, (u32)dout, (u32)din);
 ^
 include/log.h:135:26: note: in definition of macro ‘debug_cond’
printf(pr_fmt(fmt), ##args); \
 ^~~~
 drivers/spi/mxc_spi.c:231:2: note: in expansion of macro ‘debug’
debug("%s: bitlen %d dout 0x%x din 0x%x\n",
 ^~~~~
 drivers/spi/mxc_spi.c:232:32: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]
 _func_, bitlen, (u32)dout, (u32)din);
 ^
 include/log.h:135:26: note: in definition of macro ‘debug_cond’
printf(pr_fmt(fmt), ##args); \
 ^~~~
 drivers/spi/mxc_spi.c:231:2: note: in expansion of macro ‘debug’
debug("%s: bitlen %d dout 0x%x din 0x%x\n",
 ^~~~~

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2018-11-02 20:50:09 -05:00
..
Kconfig MLK-14938-19 spi: Add FlexSPI Driver for i.MX8QM 2018-04-27 02:32:28 -07:00
Makefile MLK-14938-19 spi: Add FlexSPI Driver for i.MX8QM 2018-04-27 02:32:28 -07:00
altera_spi.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
atcspi200_spi.c atcspi200: avoid possible NULL dereference 2018-02-07 22:06:18 -05:00
ath79_spi.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
atmel_spi.c wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
atmel_spi.h
bcm63xx_hsspi.c dm: spi: add BCM63xx HSSPI driver 2018-01-24 12:04:06 +05:30
bcm63xx_spi.c dm: spi: add BCM63xx SPI driver 2018-01-24 12:03:43 +05:30
cadence_qspi.c spi: cadence_spi: Sync DT bindings with Linux 2018-01-24 12:07:50 +05:30
cadence_qspi.h spi: cadence_spi: Sync DT bindings with Linux 2018-01-24 12:07:50 +05:30
cadence_qspi_apb.c spi: cadence_qspi_apb: Make flash writes 32 bit aligned 2018-01-24 12:11:36 +05:30
cf_spi.c spi: Zap cf_qspi driver and related code 2017-01-15 18:29:04 +01:00
davinci_spi.c spi: davinci_spi: Add da830-spi support for DM 2017-09-29 10:52:20 -04:00
designware_spi.c DW SPI: Get clock value from Device Tree 2018-01-26 11:26:16 +05:30
exynos_spi.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
fsl_dspi.c dm: Fix up inclusion of common.h 2017-06-01 07:03:03 -06:00
fsl_espi.c
fsl_fspi.c MLK-20107 fspi: Keep the module enabled after probe 2018-10-29 00:19:06 -07:00
fsl_fspi.h MLK-14938-19 spi: Add FlexSPI Driver for i.MX8QM 2018-04-27 02:32:28 -07:00
fsl_qspi.c MLK-18159-2 fsl_qspi: Add support for i.MX8M 2018-04-27 02:30:59 -07:00
fsl_qspi.h spi: fsl_qspi: Add controller busy check before new spi operation 2017-09-25 12:49:56 +05:30
ich.c spi: ich: Lock down controller settings if required 2017-10-27 15:13:47 +08:00
ich.h spi: ich: Lock down controller settings if required 2017-10-27 15:13:47 +08:00
kirkwood_spi.c spi: kirkwood_spi: implement workaround for FE-9144572 2018-01-24 12:04:08 +05:30
lpc32xx_ssp.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
mpc8xx_spi.c powerpc, 8xx: move SPI driver to drivers/spi/ 2017-07-08 15:56:03 -04:00
mpc8xxx_spi.c
mvebu_a3700_spi.c wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
mxc_spi.c MLK-20157 spi: mxc_spi: Fix build warning on ARM64 platforms 2018-11-02 20:50:09 -05:00
mxs_spi.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
omap3_spi.c omap3: spi: the symbol for Hertz is Hz 2017-11-20 20:18:40 -05:00
pic32_spi.c dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
rk_spi.c rockchip: spi: the symbol for Hertz is Hz 2017-11-21 23:57:23 +01:00
rk_spi.h rockchip: spi: rk_spi: dynamically select an module input rate 2017-05-10 13:37:21 -06:00
sandbox_spi.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
sh_qspi.c
sh_spi.c Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
sh_spi.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
soft_spi.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
soft_spi_legacy.c
spi-emul-uclass.c
spi-uclass.c spi: spi-uclass: Fix style violations 2018-01-24 12:04:08 +05:30
spi.c spi: Remove obsolete spi_base_setup_slave_fdt 2018-01-24 12:04:07 +05:30
stm32_qspi.c spi: stm32_qspi: add clk_get_rate() support 2017-07-26 11:28:08 -04:00
tegra20_sflash.c dm: tegra: Convert clock_decode_periph_id() to support livetree 2017-07-28 12:02:47 -06:00
tegra20_slink.c dm: tegra: Convert clock_decode_periph_id() to support livetree 2017-07-28 12:02:47 -06:00
tegra114_spi.c dm: tegra: spi: Convert to livetree 2017-07-28 12:02:47 -06:00
tegra210_qspi.c dm: tegra: Convert clock_decode_periph_id() to support livetree 2017-07-28 12:02:47 -06:00
tegra_spi.h
ti_qspi.c dm: core: Replace of_offset with accessor (part 2) 2017-06-01 07:03:04 -06:00
xilinx_spi.c
zynq_qspi.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
zynq_spi.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00