]> git.baikalelectronics.ru Git - uboot.git/commit
Revert "spi: zynq_qspi: Use dummy buswidth in dummy byte calculation"
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Thu, 27 Apr 2023 06:53:54 +0000 (08:53 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 15 May 2023 07:33:57 +0000 (09:33 +0200)
commitac87d12436707a82f7dddd1b9f78f4c7891f0194
tree9b8468237495bcb716c1aad186f892b8c3885ad9
parent4ad79aa6c975f42d2a238ea6dab524468ec09153
Revert "spi: zynq_qspi: Use dummy buswidth in dummy byte calculation"

This reverts commit e6b9aa1bf534dbb8c7e1777f5486e808a5d5767a. The
commit wrongly divides the dummy bytes by dummy bus width to calculate
the dummy bytes. The framework already converts the dummy cycles to the
number of bytes and the controller use the SPI flash command to
determine the dummy cycles via the address width.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Acked-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230427065355.7413-1-stefan.herbrechtsmeier-oss@weidmueller.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/spi/zynq_qspi.c