[PATCH 0/4] mtd-utils: add basic support for eraseregs

Marian Rotariu marian_rotariu at mentor.com
Tue Apr 26 02:30:20 PDT 2016


This patch set adds the basic support for multiple eraseregs in userspace.
I chose to add these basic changes first in order to allow others to
modify the utilities as soon as possible.

To validate the changes I modified mtdinfo tool. The patches were tested on
a S25FL128S.

Marian Rotariu (4):
  mtd-utils: add support for erase regions
  mtd-utils: fetch erasereg info through ioctl
  mtd-utils: fetch erasereg in legacy library
  mtd-utils: remove unnecessary ioctl from mtd_info

 include/libmtd.h    |  2 ++
 lib/libmtd.c        | 27 ++++++++++++++++++++++++++-
 lib/libmtd_int.h    |  1 +
 lib/libmtd_legacy.c | 28 +++++++++++++++++++++++++++-
 ubi-utils/mtdinfo.c | 18 +++++++-----------
 5 files changed, 63 insertions(+), 13 deletions(-)

-- 
1.9.1




More information about the linux-mtd mailing list