Fix all Makefile headers to be the same format
[yaffs2.git] / utils / mkyaffs2image.c
index 7649492c4515205b37b8c05b83948049c628e185..9939658c852356b4c4671cdba4d5534be89d2a4b 100644 (file)
@@ -1,26 +1,24 @@
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system.
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
  *
- * makeyaffsimage.c 
- *
- * Makes a YAFFS file system image that can be used to load up a file system.
- *
- * Copyright (C) 2002 Aleph One Ltd.
+ * Copyright (C) 2002-2007 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
+ * Nick Bane modifications flagged NCB
+ * Endian handling patches by James Ng.
+ * mkyaffs2image hacks by NCB
  *
  * 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.
+ */
+
+/*
+ * makeyaffs2image.c 
  *
- *
- * Nick Bane modifications flagged NCB
- *
- * Endian handling patches by James Ng.
- * 
- * mkyaffs2image hacks by NCB
- *
+ * Makes a YAFFS2 file system image that can be used to load up a file system.
+ * Uses default Linux MTD layout - change if you need something different.
  */
  
 #include <stdlib.h>
@@ -44,7 +42,7 @@ unsigned yaffs_traceMask=0;
 #define chunkSize 2048
 #define spareSize 64
 
-const char * mkyaffsimage_c_version = "$Id: mkyaffs2image.c,v 1.1 2005-11-02 06:45:24 charles Exp $";
+const char * mkyaffsimage_c_version = "$Id: mkyaffs2image.c,v 1.4 2007-02-14 01:09:06 wookey Exp $";
 
 
 typedef struct
@@ -461,7 +459,7 @@ int main(int argc, char *argv[])
        
        printf("mkyaffs2image: image building tool for YAFFS2 built "__DATE__"\n");
        
-       if(argc <= 3)
+       if(argc < 3)
        {
                printf("usage: mkyaffs2image dir image_file [convert]\n");
                printf("           dir        the directory tree to be converted\n");