Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spi: spi-zynq-qspi: Handle odd number of byte in dual parallel mode
In dual parallel configuration, all commands are sent to both flash devices but the data is split into odd and even bits between lower and upper flash. So the read/write data length should be of even length. When odd number of data bytes are requested to be transmitted, the driver adds an extra byte to make the data length even. Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
- Loading branch information
Amit Kumar Mahapatra
authored and
Michal Simek
committed
May 5, 2021
1 parent
6c6f4d7
commit 4b7cf5d
Showing
1 changed file
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters