This series makes the ecc strength used by the mxs-nand controller configurable via device tree. This feature can be used to reuse NAND images on devices with different OOB sizes. Sascha Hauer (8): mtd: nand-mxs: consistently rename struct nand_chip * to "chip" mtd: nand-mxs: calculate ecc_strength only once mtd: nand-mxs: Make locally used variable static mtd: nand-mxs: change API between NAND driver and fcb code mtd: nand-mxs: pass mtd_info to mxs_nand_get_mark_offset() mtd: nand-mxs: inline only once used function mtd: nand: Add function to parse device tree properties mtd: nand-mxs: Make ecc strength configurable via device tree common/imx-bbu-nand-fcb.c | 15 +- drivers/mtd/nand/nand_base.c | 27 ++++ drivers/mtd/nand/nand_mxs.c | 273 ++++++++++++++++++++--------------- include/linux/mtd/nand.h | 2 + include/linux/mtd/nand_mxs.h | 7 +- 5 files changed, 196 insertions(+), 128 deletions(-) -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox