summaryrefslogtreecommitdiff
path: root/ubi-utils/old-utils/src/ubigen.c
diff options
context:
space:
mode:
authorBrian Norris <norris@broadcom.com>2010-07-19 10:33:14 -0700
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-07-21 12:57:31 +0300
commit6ff458433ba15b8a7cb258ce64e64e98982df26e (patch)
tree5caa811e42a37c49adb54954075728ee957fa444 /ubi-utils/old-utils/src/ubigen.c
parent02ae0aac87576d07202a62d11294ea55b56f450b (diff)
nanddump: robust pretty hexdump
Adapted code from the linux kernel hex_dump_to_buffer() (lib/hexdump.c) to provide a more robust hexdump for the pretty option. Now, nanddump can print out any size of OOB (or page for that matter...) without having to worry about non-multiples of 16. This also provides ability to dump ASCII format next to the hex output once additional command-line flags are added. Tested with Samsung K9GAG08U0D Signed-off-by: Brian Norris <norris@broadcom.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/old-utils/src/ubigen.c')
0 files changed, 0 insertions, 0 deletions