diff options
author | Richard Purdie <richard@openedhand.com> | 2006-05-09 16:45:38 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-05-09 16:45:38 +0000 |
commit | 572f07af31f16b04f83755ee4d7a245eaf38a9f9 (patch) | |
tree | bcccab93d2a61d0dbc64f71786eae23acc671f7a /openembedded/packages/mtd/mtd-utils/fix-ignoreerrors.patch | |
parent | 8e898fe29b4b621df383b49b4a1df8d7d12b9a8f (diff) | |
download | openembedded-core-572f07af31f16b04f83755ee4d7a245eaf38a9f9.tar.gz openembedded-core-572f07af31f16b04f83755ee4d7a245eaf38a9f9.tar.bz2 openembedded-core-572f07af31f16b04f83755ee4d7a245eaf38a9f9.tar.xz openembedded-core-572f07af31f16b04f83755ee4d7a245eaf38a9f9.zip |
mtd-utils: Upgrade 20050801 -> 20060223
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@380 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/mtd/mtd-utils/fix-ignoreerrors.patch')
-rw-r--r-- | openembedded/packages/mtd/mtd-utils/fix-ignoreerrors.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/openembedded/packages/mtd/mtd-utils/fix-ignoreerrors.patch b/openembedded/packages/mtd/mtd-utils/fix-ignoreerrors.patch new file mode 100644 index 000000000..b1f702a31 --- /dev/null +++ b/openembedded/packages/mtd/mtd-utils/fix-ignoreerrors.patch @@ -0,0 +1,20 @@ +--- mtd/util/nanddump.c.orig 2005-12-30 19:07:39.000000000 +0100 ++++ mtd/util/nanddump.c 2005-12-30 19:08:53.000000000 +0100 +@@ -224,7 +224,7 @@ + } + } + +- if (badblock) { ++ if (badblock && !ignoreerrors) { + if (omitbad) + continue; + memset (readbuf, 0xff, bs); +@@ -259,7 +259,7 @@ + if (omitoob) + continue; + +- if (badblock) { ++ if (badblock && !ignoreerrors) { + memset (readbuf, 0xff, meminfo.oobsize); + } else { + /* Read OOB data and exit on failure */ |