commit | 5d3256cffc7007c90f1b1576384966e7422c6a5e | [log] [tgz] |
---|---|---|
author | Josh Wu <josh.wu@atmel.com> | Mon Jan 25 14:06:35 2016 +0800 |
committer | Andreas Bießmann <andreas.devel@googlemail.com> | Wed Jan 27 13:58:59 2016 +0100 |
tree | 7bf38619b96ce65dad6d457a40a2c2cb0090bce5 | |
parent | daf40884830bd87f04f220c94f5b55a631977437 [diff] |
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>