]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
spi: cadence_qspi: support FIFO width other than 4 bytes
authorVikas Manocha <vikas.manocha@st.com>
Fri, 3 Jul 2015 01:29:45 +0000 (18:29 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:47:36 +0000 (00:47 +0200)
commitf75d09560fa4b71b89eae2e2dfe44be6bf78ee52
tree44eb0c67596950ba5dda543b11dbabfa9c4382fb
parent673b4112031be56a00922aa4f89484d99068a2bd
spi: cadence_qspi: support FIFO width other than 4 bytes

This patch makes the code compatible with FIFO depths other than 4
bytes. It also simplify read/write FIFO loops.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Tested-by: Stefan Roese <sr@denx.de>
Reviewed-by: Jagannadh Teki <jteki@openedev.com>
drivers/spi/cadence_qspi_apb.c