diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-11-24 12:05:06 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-11-24 12:05:06 +0000 |
commit | 8a5b26afd19ea61a2fc37f28907690d58fed2697 (patch) | |
tree | 86ce89ab6d0d5fc3ad864dfb77eaef4a422b5188 /tools/mtd-utils/patches/000-upstream_nanddump.patch | |
parent | 65a07aa7cf20ea5ff4798a41a86eb35dca17be54 (diff) | |
download | mtk-20170518-8a5b26afd19ea61a2fc37f28907690d58fed2697.zip mtk-20170518-8a5b26afd19ea61a2fc37f28907690d58fed2697.tar.gz mtk-20170518-8a5b26afd19ea61a2fc37f28907690d58fed2697.tar.bz2 |
tools/mtd-utils: update to mtd-utils-20101124
SVN-Revision: 24129
Diffstat (limited to 'tools/mtd-utils/patches/000-upstream_nanddump.patch')
-rw-r--r-- | tools/mtd-utils/patches/000-upstream_nanddump.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/mtd-utils/patches/000-upstream_nanddump.patch b/tools/mtd-utils/patches/000-upstream_nanddump.patch deleted file mode 100644 index e04f6d5..0000000 --- a/tools/mtd-utils/patches/000-upstream_nanddump.patch +++ /dev/null @@ -1,28 +0,0 @@ -From: Baruch Siach <baruch@tkos.co.il> -Date: Mon, 11 Oct 2010 09:19:38 +0000 (+0200) -Subject: nanddump: fix initialization of bad blocks oob data buffer -X-Git-Url: http://git.infradead.org - -nanddump: fix initialization of bad blocks oob data buffer - -When dumping oob data of a bad block, initialize oobbuf with 0xff, instead of -readbuf. This avoids bogus oob data on output. - -Signed-off-by: Baruch Siach <baruch@tkos.co.il> -Acked-by: Mike Frysinger <vapier@gentoo.org> -Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> ---- - -diff --git a/nanddump.c b/nanddump.c -index 3589931..b7341a5 100644 ---- a/nanddump.c -+++ b/nanddump.c -@@ -452,7 +452,7 @@ int main(int argc, char * const 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; |