Skip to content

mtd: gpmi: make blockmark swapping optional

Lothar Waßmann linux-arm-kernel linux-devicetree linux-mtd 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest posting 2/20 of 5 patches 0 repliesNew
  2. v4 posting 1/25 patches 0 repliesSuperseded
  3. v32 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v21 patch18 repliesSuperseded

Patches in v4 posting 2/2 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCHv4 0/5] mtd: gpmi: make blockmark swapping optional

Hi,

Quoted 15 lines · Lothar Wa?mann

With a flash-based BBT there is no reason to move the Factory Bad Block Marker from the data area buffer (to where it is mapped by the GPMI NAND controller) to the OOB buffer. Thus, make this feature configurable via DT. This is required for the Ka-Ro electronics i.MX6 platforms.

Changes wrt. v2:
- added a warning for i.MX28 to the binding documentation
- fixed the gpmi_ecc_read_subpage() routine which turned on blockmark swapping unconditionally
- use !GPMI_IS_MX23() in place of this->swap_block_mark (which were synonymous the original code) in gpmi_ecc_read_oob() and gpmi_block_markbad()
- make nand-on-flash-bbt a prerequisite for this feature

Quoted 8 lines

patch added:
- add an additional option to turn of BB mark writing

Changes wrt. v3:
- added two code cleanup patches
- added a patch to turn of NAND_BBT_CREATE, if blockmark swapping is disabled

any comments on this patchset?

Lothar Wa?mann

Signature · 9 lines
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstra?e 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Gesch?ftsf?hrer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | info at karo-electronics.de
___________________________________________________________