mtd: rawnand: sunxi: Fixes user data length for H6
Status from this message: Applied to nand/next, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest9 patches 3 repliesApplied
- v26 patches 7 repliesSuperseded
- v16 patches 8 repliesSuperseded
Changes in v3 from the cover letter
- fix typos in commit messages
- add a patch fixing typos in code comments
- add a patch to remove some dead code in sunxi_nand_ooblayout_free()
- add a patch to change an error prone variable name
- maximize user data length instead of relying on vendor layout
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | mtd: rawnand: sunxi: sunxi_nand_ooblayout_free code clarificationdrivers/ | +2 | 1 reply | |
| 2/9 | mtd: rawnand: sunxi: fix sunxi_nfc_hw_ecc_read_extra_oobdrivers/ | +3 | 0 replies | |
| 3/9 | mtd: rawnand: sunxi: do not count BBM bytes twicedrivers/ | +20 | 0 replies | |
| 4/9 | mtd: rawnand: sunxi: replace hard coded value by a define - take2drivers/ | +2 | 0 replies | |
| 5/9 | mtd: rawnand: sunxi: make the code more self-explanatorydrivers/ | +11 | 0 replies | |
| 6/9 | mtd: rawnand: sunxi: remove dead codedrivers/ | +7 | 1 reply | |
| 7/9 | mtd: rawnand: sunxi: change error prone variable namedrivers/ | +6 | 0 replies | |
| 8/9 | mtd: rawnand: sunxi: fix typos in commentsdrivers/ | +2 | 0 replies | |
| 9/9 | mtd: rawnand: sunxi: introduce maximize variable user data lengthdrivers/ | +257 | 0 replies |
Reviews trailers per patch
4 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Jernej Skrabec | Chen-Yu Tsai |
|---|---|---|
| 1/9 | R-b | |
| 2/9 | R-b | |
| 3/9 | ||
| 4/9 | R-b | |
| 5/9 | A-b | |
| 6/9 | ||
| 7/9 | ||
| 8/9 | ||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/9] mtd: rawnand: sunxi: Fixes user data length for H6
This series introduces the correct usage of user data length for H6/H616.
If the older SoCs must use a fixed value of 4 user data bytes for each ECC step, the H6 can have a different value for each step.
In the first round, the behavior was kept as the one used by A10. But we have multiple choices:
- do like A10 like before (and not use all OOB)
- do like the vendor kernel (different from A10, but not using all OOB)
- use the whole OOB for user data bytes
In this second round, the third approach is implemented.
The first patches are fixes/code cleaning and the last one enables using a variable user data length for H6/H616
Changes from v2:
- fix typos in commit messages
- add a patch fixing typos in code comments
- add a patch to remove some dead code in sunxi_nand_ooblayout_free()
- add a patch to change an error prone variable name
- maximize user data length instead of relying on vendor layout
Changes from v1:
- gather Reviewed-by/Acked-by
- rework patch 1 subject (more a code clarification than a fix)
- fix typo in patch 2
- remove patch 4 Fixes since it's not really a fix
Richard Genoud (9):
mtd: rawnand: sunxi: sunxi_nand_ooblayout_free code clarification
mtd: rawnand: sunxi: fix sunxi_nfc_hw_ecc_read_extra_oob
mtd: rawnand: sunxi: do not count BBM bytes twice
mtd: rawnand: sunxi: replace hard coded value by a define - take2
mtd: rawnand: sunxi: make the code more self-explanatory
mtd: rawnand: sunxi: remove dead code
mtd: rawnand: sunxi: change error prone variable name
mtd: rawnand: sunxi: fix typos in comments
mtd: rawnand: sunxi: introduce maximize variable user data length
drivers/mtd/nand/raw/sunxi_nand.c | 381 +++++++++++++++++++++++------- 1 file changed, 294 insertions(+), 87 deletions(-)
base-commit: 11439c4635edd669ae435eec308f4ab8a0804808