diff options
| author | Richard Genoud <[email protected]> | 2026-01-23 12:44:52 +0100 |
|---|---|---|
| committer | Michael Trimarchi <[email protected]> | 2026-02-03 21:45:03 +0100 |
| commit | 50b459973c3e747d9e5e4b38acb0702724fd8e68 (patch) | |
| tree | f0a1bad95dfdfe470510677bacc9bdf59b2a9efb /scripts | |
| parent | 0a80eb814664fe2613aa0241d3c07cdb587eda00 (diff) | |
mtd: rawnand: sunxi_spl: use NFC_ECC_ERR_MSK and NFC_ECC_PAT_FOUND
Use defines instead of hardcoded values for NFC_ECC_{ERR_MSK,PAT_FOUND}
SPL is using hard coded values for ECC error detection and empty chunk
detection.
The H6/H616 registers for that have changed, the pattern found is no
more in the NFC_REG_ECC_ST register.
So, don't presume anymore that pattern_found is in NFC_REG_ECC_ST, and
read the pattern_found register to get this information.
Apart from an additional register reading, no functional change.
Signed-off-by: Richard Genoud <[email protected]>
Signed-off-by: Michael Trimarchi <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
