]> www.infradead.org Git - mtd-utils.git/commit
mtdinfo: add regioninfo/eraseblock map display
authorMike Frysinger <vapier@gentoo.org>
Wed, 8 Jun 2011 19:11:32 +0000 (15:11 -0400)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 9 Jun 2011 06:32:53 +0000 (09:32 +0300)
commit266061ebd5d72391f0a0e831b018e8fc7fea68a1
tree55203f4f5a12bd80862de12fc3efba204d41c72f
parent3b5d27d11737041cb03b7fa68cd4e0da34bcbc01
mtdinfo: add regioninfo/eraseblock map display

This brings the mtdinfo utility in line with the functionality
of the flash_info utility.  It dumps the erase regioninfo (if
the devices has it) as well as showing a handy eraseblock map
(if the user has requested it).  The eraseblock map also shows
which blocks are locked and which ones are bad.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
ubi-utils/src/mtdinfo.c