summaryrefslogtreecommitdiff
path: root/rfddump.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2010-10-15 17:35:31 -0700
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-10-17 11:00:01 +0300
commit96a5eeaf754c34bf684b6957ab8479d8557b3e95 (patch)
tree5c390c3949794d36aaa0f8b4a41f0d5114d85ebe /rfddump.c
parent5ee3a1905e4ea852c936f92bc9b15b98032285ca (diff)
mtd-utils: nanddump: Dynamic buffer, increase pagesize/oobsize
The buffers used for dumping page and OOB data needed dynamic allocation to help eliminate burdens for updating (i.e., every time there's a new OOB size we don't have to increase the sizes). Also, there is no need to check flash chips for "standard sizes." With recent changes to the printing codebase, we should be able to handle arbitrary sizes with no problem. More exit operations are now necessary on program failure, so "goto closeall" is used more liberally. Also, common.h is included for the use of xmalloc. [conflicts fixed by Artem] Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'rfddump.c')
0 files changed, 0 insertions, 0 deletions