
Since the nand driver is synced with v4.1 kernel, here is a update also for atmel_nand driver. which includes: 1. fix format and using definition not magic number. 2. use ecc_{strength, step}_ds instead of our own function.
Changes in v2: - following Andreas' advice, change the message for more concise. - collect the Reviewed-by from Andreas. - drop a patch: [PATCH 3/4] atmel_nand: increase more delay to support MT29F32G08CBADA
Josh Wu (3): atmel_nand: use nand ecc_{strength,step}_ds instead of our own function atmel_nand: add '\n' in the end of error message for better display atmel_nand: use the definition: PMECC_OOB_RESERVED_BYTES instead magic number
drivers/mtd/nand/atmel_nand.c | 50 +++++++++-------------------------------- 1 file changed, 10 insertions(+), 40 deletions(-)