]> git.sur5r.net Git - u-boot/commit
atmel_nand: use the definition: PMECC_OOB_RESERVED_BYTES instead magic number
authorJosh Wu <josh.wu@atmel.com>
Mon, 25 Jan 2016 06:06:35 +0000 (14:06 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Wed, 27 Jan 2016 12:58:59 +0000 (13:58 +0100)
commit422b49e2895ef61a1cc454aca6dd79a8e2279eff
tree7bf38619b96ce65dad6d457a40a2c2cb0090bce5
parent4c6a6ea3e11844f1b7242d7ed4468bb80ae81369
atmel_nand: use the definition: PMECC_OOB_RESERVED_BYTES instead magic number

As atmel_nand_ecc.h is sync with v4.1 kernel, which adds the
PMECC_OOB_RESERVED_BYTES. So use it in the driver.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
drivers/mtd/nand/atmel_nand.c