projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test for reduced shrink headers
[yaffs2.git]
/
utils
/
mkyaffs2image.c
diff --git
a/utils/mkyaffs2image.c
b/utils/mkyaffs2image.c
index 31d41904234e543abcbdb9144596328ce7142251..548fd3a7ae07f2120fb8f2baa7706a09fba909f4 100644
(file)
--- a/
utils/mkyaffs2image.c
+++ b/
utils/mkyaffs2image.c
@@
-12,7
+12,6
@@
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
- *
*/
/*
*/
/*
@@
-43,7
+42,7
@@
unsigned yaffs_traceMask=0;
#define chunkSize 2048
#define spareSize 64
#define chunkSize 2048
#define spareSize 64
-const char * mkyaffsimage_c_version = "$Id: mkyaffs2image.c,v 1.
3 2007-02-12 16:55:27 wookey
Exp $";
+const char * mkyaffsimage_c_version = "$Id: mkyaffs2image.c,v 1.
5 2010-01-11 21:43:18 charles
Exp $";
typedef struct
typedef struct
@@
-183,7
+182,7
@@
static int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes)
nPages++;
nPages++;
- yaffs_PackTags2(&pt,&t);
+ yaffs_PackTags2(&pt,&t
,1
);
// return write(outFile,&pt,sizeof(yaffs_PackedTags2));
return write(outFile,&pt,spareSize);
// return write(outFile,&pt,sizeof(yaffs_PackedTags2));
return write(outFile,&pt,spareSize);