mirror of
https://git.yoctoproject.org/poky
synced 2026-02-28 20:39:39 +01:00
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
20
meta/packages/mtd/mtd-utils/fix-ignoreerrors.patch
Normal file
20
meta/packages/mtd/mtd-utils/fix-ignoreerrors.patch
Normal file
@@ -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 */
|
||||
Reference in New Issue
Block a user