commit | 75eb2cec251fda33c9bb716ecc372819abb9278a | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Thu Feb 04 09:52:30 2016 +0100 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Tue Apr 19 22:05:47 2016 +0200 |
tree | 6adaf011cf01e43273cf1b70f82ed12812182fc5 | |
parent | c4f3ef2c6c219c3e58e0f5a9589a67685a75d787 [diff] |
mtd: add mtd_ooblayout_xxx() helper functions In order to make the ecclayout definition completely dynamic we need to rework the way the OOB layout are defined and iterated. Create a few mtd_ooblayout_xxx() helpers to ease OOB bytes manipulation and hide ecclayout internals to their users. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>