Fixes for SPI-NAND issues on LS1088A
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v13 patches 0 repliesSuperseded
Changes in v2 from the cover letter
* Correct addition of declration for spi_mem_default_supports_op The previous patch attempted to mirror how it was added to the Linux kernel, which is not relevant to U-Boot
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mem: spi-mem: add declaration for spi_mem_default_supports_opinclude/ | +3 | 1 reply | |
| 2/3 | spi: fsl_qspi: Ensure width is respected in spi-mem operationsdrivers/ | +1 | 0 replies | |
| 3/3 | spi: fsl_qspi: apply the same settings for LS1088 as LS208xdrivers/ | +1 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Pratyush Yadav |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] Fixes for SPI-NAND issues on LS1088A
This patchset resolves issues seen when using SPI-NAND with the LS1088A's qspi controller.
The main issue seen is data corruption when reading SPI-NAND, due to a controller quirk not being applied.
Using the same settings as the LS2088A (the bigger brother of LS1088A) solves this issue.
In the course of debugging the above issue, it was found that the fsl_qspi driver was not correctly reporting the operation width (single/dual/quad) configured for the device in DTS.
(e.g I configured my device for single-lane reads only but quad operations were being issued)
A fix for this issue is already present in Linux and can be adapted for U-Boot, providing a missing declaration for spi_mem_default_supports_op is added.
Changes in v2:
* Correct addition of declration for spi_mem_default_supports_op The previous patch attempted to mirror how it was added to the Linux kernel, which is not relevant to U-Boot
Mathew McBride (3):
mem: spi-mem: add declaration for spi_mem_default_supports_op
spi: fsl_qspi: Ensure width is respected in spi-mem operations
spi: fsl_qspi: apply the same settings for LS1088 as LS208x
drivers/spi/fsl_qspi.c | 12 ++---------- include/spi-mem.h | 3 +++ 2 files changed, 5 insertions(+), 10 deletions(-)
Signature · 1 line
2.30.0