diff options
author | Artem Bityutskiy <dedekind1@gmail.com> | 2010-07-18 07:26:59 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-07-26 08:57:31 +0300 |
commit | f84804d118c902f452fd4a1c9d113232d5c610e8 (patch) | |
tree | 7e7115c407d3af180d787e7d591b5fd5adc3084a /ubi-utils/src/libscan.c | |
parent | f1e870c3e9a1a80be7a1d886d61ccac0f8e97e10 (diff) |
libmtd: add OOB read and write interfaces
This patch is based on Kevin Cernekee's patch posted to the MTD mailing
list. It adds 'mtd_read_oob()' and 'mtd_write_oob()' interfaces support.
The interfaces use MEMREADOOB64/MEMWRITEOOB64 MTD ioctls if possible, and
fall-back to MEMREADOOB/MEMWRITEOOB if the 64-bit versions are not supported.
The information about ioctls support is then cashed in 'offs64_ioctls'
libmtd flag.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/libscan.c')
0 files changed, 0 insertions, 0 deletions