u-boot/drivers
Mathew McBride 6b4eb604ea spi: fsl_qspi: Ensure width is respected in spi-mem operations
Adapted from kernel commit b0177aca7aea
From: Michael Walle <michael@walle.cc>

Make use of a core helper to ensure the desired width is respected
when calling spi-mem operators.

Otherwise only the SPI controller will be matched with the flash chip,
which might lead to wrong widths. Also consider the width specified by
the user in the device tree.

Fixes: 91afd36f38 ("spi: Add a driver for the Freescale/NXP QuadSPI controller")
Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20200114154613.8195-1-michael@walle.cc
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Mathew McBride <matt@traverse.com.au> [adapt for U-Boot]
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-02-08 14:01:18 +05:30
..
adc - sync amlogic GX & AXG DT to Linux 5.10 2021-01-13 07:32:02 -05:00
ata ata: sunxi: fix debug messages 2021-01-31 23:55:56 +00:00
axi dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
bios_emulator common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
block sandbox: fill block device meta information 2021-01-30 14:25:42 -07:00
bootcount dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
bus bus: ti: am33xx: add pwm subsystem driver 2021-01-12 10:58:05 +05:30
button dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
cache dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
clk clk: x86: Correct the driver name 2021-01-30 14:25:41 -07:00
core dm: core: Add late driver remove option 2021-02-03 03:38:41 -07:00
cpu dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
crypto dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
ddr imx: ddr: imx8m: Move selfref_en after DDR scrub 2021-01-23 11:30:30 +01:00
demo dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
dfu dfu: add 'SCRIPT' entity 2021-01-31 14:08:56 +01:00
dma dma: bcm6348: incorrect buffer allocation 2021-01-18 15:23:06 -05:00
fastboot disk: dos: rename write_mbr_partition to write_mbr_sector 2021-01-15 14:38:00 -05:00
firmware firmware: smci: possible NULL dereference 2021-02-03 03:38:41 -07:00
fpga arm: socfpga: soc64: Add ATF support for FPGA reconfig driver 2021-01-15 17:48:37 +08:00
gpio gpio: Add support for DM GPIO for Kirkwood 2021-01-27 07:25:39 +01:00
hwspinlock hwspinlock: stm32: migrate trace to log macro 2021-01-13 09:52:58 +01:00
i2c sandbox: Disable I2C emulators in SPL 2021-01-30 14:25:41 -07:00
input dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
led dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
mailbox mailbox: stm32-ipcc: migrate trace to dev and log macro 2021-01-13 09:52:58 +01:00
memory memory: stm32-fmc2: migrate trace to dev and log macro 2021-01-13 09:52:58 +01:00
misc cros_ec: Add vstore support 2021-01-30 14:25:41 -07:00
mmc mmc: am654_sdhci: Use sdhci_set_control_reg() 2021-02-04 20:37:57 +05:30
mtd mtd: spi-nor: add unlock all config option 2021-02-08 14:01:13 +05:30
mux dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
net net: eqos: Reduce the MDIO wait time 2021-02-08 14:01:15 +05:30
nvme Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
pch dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pci dm: pci: Correct use of wrong flag name 2021-02-03 03:38:41 -07:00
pci_endpoint common: board_r: Drop initr_pci_ep wrapper 2021-01-15 14:36:12 -05:00
phy phy: add USB PHY driver for MediaTek MT7620 SoC 2021-01-24 21:39:26 +01:00
pinctrl - MIPS: add support for Mediatek MT7620 SoCs 2021-01-25 14:38:40 -05:00
power sunxi: Add support for H616 SoC 2021-01-25 21:52:01 +00:00
pwm dm: fix build errors generated by last merges 2021-01-15 13:12:38 -05:00
qe drivers: qe: avoid double free() 2021-01-18 15:23:06 -05:00
ram ram: aspeed: Add AST2600 DRAM control support 2021-01-18 15:19:15 -05:00
remoteproc remoteproc: k3_r5: Sync to upstreamed kernel DT property names 2021-02-04 20:37:56 +05:30
reset reset: reset-mtmips: add DM_FLAG_PRE_RELOC flag 2021-01-24 21:39:27 +01:00
rng dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
rtc sandbox: keep time offset when resetting 2021-01-30 14:25:42 -07:00
scsi dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
serial serial: sifive: Cast dev_read_addr() with uintptr_t 2021-02-03 03:38:41 -07:00
smem smem: Don't use -EPROBE_DEFER 2021-02-03 03:38:41 -07:00
soc dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
sound dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
spi spi: fsl_qspi: Ensure width is respected in spi-mem operations 2021-02-08 14:01:18 +05:30
spmi dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sysinfo dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sysreset aspeed: Add AST2600 platform support 2021-01-18 15:23:06 -05:00
tee dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
thermal dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
timer x86: tsc_timer: Correct overflow in __udelay() 2021-02-01 15:11:40 +08:00
tpm tpm: cr50: Rename driver to work with of-platdata 2021-01-30 14:25:41 -07:00
ufs dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
usb usb: gaget: ci: set ep's desc when enable ep 2021-01-31 14:08:56 +01:00
video dm: Rename DM_FLAG_REMOVE_WITH_PD_ON 2021-02-03 03:38:41 -07:00
virtio dm: Avoid accessing seq directly 2020-12-18 20:32:21 -07:00
w1 w1: mxc: fix build 2021-01-23 11:30:31 +01:00
w1-eeprom dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
watchdog dm: Rename DM_FLAG_REMOVE_WITH_PD_ON 2021-02-03 03:38:41 -07:00
xen common: board_r: Drop initr_xen wrapper 2021-01-15 14:36:12 -05:00
Kconfig board: Rename uclass to sysinfo 2020-11-06 10:18:20 +08:00
Makefile bootcount: allow to use this feature on TPL 2021-01-27 16:58:57 -05:00