commit | 78d28e8ec4fbd4d1e0c375d7a28f4f23e9e7b15e | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Wed Feb 03 20:11:14 2016 +0100 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Tue Apr 19 22:05:49 2016 +0200 |
tree | e2dee2e1186735d8be0fa8bd3366d0a1ae68d2a6 | |
parent | 846031d3e1837b71e350bd8098f00995069859a8 [diff] |
mtd: nand: atmel: use mtd_ooblayout_xxx() helpers where appropriate The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Reviewed-by: Nicolas Ferre <nicolas.ferre@atmel.com>