diff options
author | Brian Norris <computersforpeace@gmail.com> | 2010-11-03 01:27:22 -0700 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-11-13 13:45:43 +0200 |
commit | af88c36dbda09ab38f274956ed3f2d1ddd62e3fb (patch) | |
tree | 0455167124a148a57f030e217ebd9ebd8093fbba /flash_unlock.c | |
parent | 8532b109ee1a9b32d952dafdcd92989763db42f8 (diff) |
mtd-utils: nandwrite: Use libmtd to get correct mtd parameters
Begin utilizing libmtd for MTD operations: use mtd_get_dev_info() to return
a more detailed set of information about our MTD. Most importantly, libmtd
will yield a 64-bit "size" parameter. This is necessary to properly detect
devices larer than 4GB.
printf() arguments needed reformatted for the new mtd_dev_info data types.
In addition, the printf() was restructured to keep lines shorter.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'flash_unlock.c')
0 files changed, 0 insertions, 0 deletions