]> git.ipfire.org Git - thirdparty/u-boot.git/commit
spi: mtd: Use split reads if multi-die flag is set
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Tue, 27 Jul 2021 14:35:10 +0000 (08:35 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 28 Jul 2021 07:07:04 +0000 (09:07 +0200)
commit6d878f697420922b8c85d9562150d6bf00ab04ac
tree8a6c09e855f3b333172bf0054cdefc9cb1b6f2e8
parent88cb3bc3f97ff14205886dc5742a6daabe8fbf9e
spi: mtd: Use split reads if multi-die flag is set

Some flash devices have multiple dies in it & has die cross over
issue. When SPI_NOR_MULTI_DIE flag is set in flash id table use
it to enable split reads to avoid above issue. Define SPI_NOR_MULTI_DIE
new flag to flash id flags. Remove SPI_FLASH_SPLIT_READ config and
related code from the zynq and zynqmp qspi drivers as it is redundant.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
arch/arm/Kconfig
drivers/mtd/spi/sf_internal.h
drivers/mtd/spi/spi-nor-core.c
drivers/spi/zynq_qspi.c
drivers/spi/zynqmp_gqspi.c