summaryrefslogtreecommitdiff
path: root/drivers/spi/spi.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-04-27 21:38:05 (GMT)
committerMarek Vasut <marex@denx.de>2016-05-06 16:41:49 (GMT)
commit5a824c493a31d06f04a6736fab8f67bf78145003 (patch)
tree97ed67070ca2b81431dc436c9ea9f83d272b70ab /drivers/spi/spi.c
parent26da6353e17111d7f0882866950cf26a679b8d5f (diff)
downloadu-boot-fsl-qoriq-5a824c493a31d06f04a6736fab8f67bf78145003.tar.xz
mtd: cqspi: Simplify indirect read code
The indirect read code is a pile of nastiness. This patch replaces the whole unmaintainable indirect read implementation with the one from upcoming Linux CQSPI driver, which went through multiple rounds of thorough review and testing. All the patch does is it plucks out duplicate ad-hoc code distributed across the driver and replaces it with more compact code doing exactly the same thing. There is no speed change of the read operation. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Jagan Teki <jteki@openedev.com> Cc: Pavel Machek <pavel@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Vignesh R <vigneshr@ti.com>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions