Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mtd: nand: raw: atmel: Port timing fix from at91bootstrap
From reading the S34ML02G1 and the SAM9X60 datasheets again, it seems like we have to wait tREA after rising RE# before sampling the data. Thus pulse must be at least tREA. The fix works in bootstrap, u-boot, and Linux, but the explanation might be improved. It probably worked on sam9g20 and sama5d2 before, because those have a slower mck clock rate and thus the resolution of the timings setup is not as tight as with sam9x60. Without the fix we got PMECC errors when reading after switching to ONFI timing mode 3. Link: linux4sam/at91bootstrap#174 Cc: Li Bin <bin.li@microchip.com>
- Loading branch information