1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

mtd-utils: Add 1.0.0 and git versions. Patch git version with lzo support

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1300 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2007-03-01 12:14:38 +00:00
parent e2a7250b89
commit 26c9b6e77c
11 changed files with 564 additions and 11 deletions
@@ -0,0 +1,26 @@
---
nanddump.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: git/nanddump.c
===================================================================
--- git.orig/nanddump.c 2007-01-23 15:42:34.000000000 +0000
+++ git/nanddump.c 2007-01-23 15:47:57.000000000 +0000
@@ -281,7 +281,7 @@ int main(int argc, char **argv)
}
}
- if (badblock) {
+ if (badblock && !ignoreerrors) {
if (omitbad)
continue;
memset (readbuf, 0xff, bs);
@@ -335,7 +335,7 @@ int main(int argc, char **argv)
if (omitoob)
continue;
- if (badblock) {
+ if (badblock && !ignoreerrors) {
memset (readbuf, 0xff, meminfo.oobsize);
} else {
/* Read OOB data and exit on failure */