diff options
| author | Tejas Bhumkar <[email protected]> | 2024-01-28 12:07:46 +0530 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2024-01-29 19:34:17 +0530 |
| commit | b4b0228db8408af56472ceeae279693073ed2204 (patch) | |
| tree | 57859cc37112f1bfaf680e9c3928605d957abf36 /include/linux | |
| parent | 18e61f23787cb426dc2dd2fda1fa7e288110643e (diff) | |
spi: cadence_qspi: Address the comparison failure for 0-8 bytes of data
The current implementation encounters issues when testing data ranging
from 0 to 8 bytes. This was confirmed through testing with both ISSI
(IS25WX256) and Micron (MT35XU02G) Flash exclusively in SDR mode.
Upon investigation, it was observed that utilizing the
"SPI_NOR_OCTAL_READ" flag and attempting to read less than 8 bytes in
STIG mode results in a read failure, leading to a compare test failure.
To resolve this issue, the CMD_4BYTE_FAST_READ opcode is now utilized
instead of CMD_4BYTE_OCTAL_READ, specifically in SDR mode.
This is based on patch series:
https://lore.kernel.org/all/[email protected]/
Signed-off-by: Tejas Bhumkar <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
