
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(-)