nanddump: fix badblock oob output
PATCH 1/1 nanddump: fix badblock oob output
Hi,
Was looking over the nanddump code and it appears that the incorrect buffer is being 0xffed when outputting badblock oob data.
I haven't actually run nanddump yet and so haven't tested, but it seems simple enough so I've included the patch below.
Cheers,
Chris
----
nanddump.c +1 -1
@@ -335,7 +335,7 @@ int main(int argc, char **argv)continue ;if (badblock) { -memset (readbuf,0xff , meminfo.oobsize); +memset (oobbuf,0xff , meminfo.oobsize); }else {/* Read OOB data and exit on failure */ oob.start = ofs;