Refactor bch settings and support large oob NAND
Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest5 patches 5 repliesApplied
- v34 patches 5 repliesSuperseded
- v22 patches 2 repliesSuperseded
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mtd: rawnand: gpmi: Refactor bch geometry settings functiondrivers/ | +20 | 1 reply | |
| 2/5 | mtd: rawnand: gpmi: Add strict ecc strength checkdrivers/ | +14 | 1 reply | |
| 3/5 | mtd: rawnand: gpmi: Uninline the gpmi_check_ecc functiondrivers/ | +1 | 1 reply | |
| 4/5 | mtd: rawnand: gpmi: Rename the variable ecc_chunk_sizedrivers/ drivers/ | +34 | 1 reply | |
| 5/5 | mtd: rawnand: gpmi: Add large oob bch setting supportdrivers/ drivers/ | +197 | 1 reply |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by.
| Patch | Sean Nyekjaer |
|---|---|
| 1/5 | T-b |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/5] Refactor bch settings and support large oob NAND
These series of patches refactor the gpmi bch setting function and introduce a new way to set bch for large oob(oobsize > 1KB) NAND.
Code changes don't affect the default bch behavior but users may add DT flag to use NAND chips required minimum ecc strength. More strict ecc strength check added to make sure ecc strength is strong enough. For some NAND chips that oobsize larger than 1KB, a new way to set bch was introduced, which may use a separate ecc for meta. In this case, the data0_size in BCH_FLASH0LAYOUT0 and datan_size in BCH_FLASH0LAYOUT1 need to be presented in dedicate variables.
Han Xu (5):
mtd: rawnand: gpmi: Refactor bch geometry settings function
mtd: rawnand: gpmi: Add strict ecc strength check
mtd: rawnand: gpmi: Uninline the gpmi_check_ecc function
mtd: rawnand: gpmi: Rename the variable ecc_chunk_size
mtd: rawnand: gpmi: Add large oob bch setting support
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 296 ++++++++++++++++++--- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h | 12 +- 2 files changed, 264 insertions(+), 44 deletions(-)
Signature · 6 lines
2.17.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/