[U-Boot] [PATCH v3 0/3] mtd: nand: mxs: Calculate ECC strength dynamically

Jörg Krause joerg.krause at embedded.rocks
Wed Apr 15 09:27:20 CEST 2015


This patchset is based on the patch from Peng Fan:
"[U-Boot,1/2] mtd:mxs:nand calculate ecc strength dynamically"
https://patchwork.ozlabs.org/patch/422756/

Instead of hard-coding every possible oob size / ECC strength combination
calculate the ECC strength dynamically to be aligned with the Linux Kernel
MTD NAND driver. Also adds the calculation to tools/mxsboot to be aligned
with the U-Boot MTD NAND driver.

Jörg Krause (2):
  mtd: nand: mxs: Replace magic number for bits per ECC level with macro
  tools: mxsboot: Calculate ECC strength dynamically

Peng Fan (1):
  mtd:mxs:nand calculate ecc strength dynamically

 drivers/mtd/nand/mxs_nand.c | 35 +++++++++++++++--------------------
 tools/mxsboot.c             | 39 ++++++++++++++++++++++++---------------
 2 files changed, 39 insertions(+), 35 deletions(-)

-- 
2.3.5



More information about the U-Boot mailing list