normalise licence headers and attributions
authorwookey <wookey>
Mon, 12 Feb 2007 16:55:25 +0000 (16:55 +0000)
committerwookey <wookey>
Mon, 12 Feb 2007 16:55:25 +0000 (16:55 +0000)
32 files changed:
Kconfig
Makefile
devextras.h
moduleconfig.h
patch-ker.sh
utils/mkyaffs2image.c
utils/mkyaffsimage.c
yaffs_checkptrw.c
yaffs_checkptrw.h
yaffs_ecc.c
yaffs_ecc.h
yaffs_fs.c
yaffs_guts.c
yaffs_guts.h
yaffs_mtdif.c
yaffs_mtdif.h
yaffs_mtdif2.c
yaffs_mtdif2.h
yaffs_nand.c
yaffs_nand.h
yaffs_nandemul2k.h
yaffs_packedtags1.c
yaffs_packedtags1.h
yaffs_packedtags2.c
yaffs_packedtags2.h
yaffs_qsort.h
yaffs_tagscompat.c
yaffs_tagscompat.h
yaffs_tagsvalidity.c
yaffs_tagsvalidity.h
yaffsinterface.h
yportenv.h

diff --git a/Kconfig b/Kconfig
index dd330790c2501c723e2cccb5b36059d5e7b90e51..6bd1a6b7f5f0bf59a5658e40d7bee1317a65539a 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -12,8 +12,8 @@ config YAFFS_FS
          YAFFS2, or Yet Another Flash Filing System, is a filing system
          optimised for NAND Flash chips.
 
          YAFFS2, or Yet Another Flash Filing System, is a filing system
          optimised for NAND Flash chips.
 
-         To compile the YAFFS2 file system support as a module, choose M here:
-         the module will be called yaffs2.
+         To compile the YAFFS2 file system support as a module, choose M
+         here: the module will be called yaffs2.
 
          If unsure, say N.
 
 
          If unsure, say N.
 
@@ -26,6 +26,8 @@ config YAFFS_YAFFS1
        default y
        help
          Enable YAFFS1 support -- yaffs for 512 byte / page devices
        default y
        help
          Enable YAFFS1 support -- yaffs for 512 byte / page devices
+         
+         Not needed for 2K-page devices.
 
          If unsure, say Y.
 
 
          If unsure, say Y.
 
@@ -44,9 +46,9 @@ config YAFFS_ECC_WRONG_ORDER
        depends on YAFFS_FS && YAFFS_DOES_ECC
        default n
        help
        depends on YAFFS_FS && YAFFS_DOES_ECC
        default n
        help
-         This makes yaffs_ecc.c use the same ecc byte order as
-         Steven Hill's nand_ecc.c. If not set, then you get the
-         same ecc byte order as SmartMedia.
+         This makes yaffs_ecc.c use the same ecc byte order as Steven
+         Hill's nand_ecc.c. If not set, then you get the same ecc byte
+         order as SmartMedia.
 
          If unsure, say N.
 
 
          If unsure, say N.
 
@@ -55,7 +57,7 @@ config YAFFS_YAFFS2
        depends on YAFFS_FS
        default y
        help
        depends on YAFFS_FS
        default y
        help
-         Enable YAFFS2 support -- yaffs for >= 2048 byte / page larger devices
+         Enable YAFFS2 support -- yaffs for >= 2K bytes per page devices
 
          If unsure, say Y.
 
 
          If unsure, say Y.
 
@@ -66,7 +68,8 @@ config YAFFS_AUTO_YAFFS2
        help
          Without this, you need to explicitely use yaffs2 as the file
          system type. With this, you can say "yaffs" and yaffs or yaffs2
        help
          Without this, you need to explicitely use yaffs2 as the file
          system type. With this, you can say "yaffs" and yaffs or yaffs2
-          will be used depending on the device page size.
+         will be used depending on the device page size (yaffs on
+         512-byte page devices, yaffs2 on 2K page devices).
 
          If unsure, say Y.
 
 
          If unsure, say Y.
 
@@ -95,31 +98,34 @@ config YAFFS_CHECKPOINT_RESERVED_BLOCKS
        depends on YAFFS_YAFFS2
        default 10
        help
        depends on YAFFS_YAFFS2
        default 10
        help
-         Give the number of Blocks to reserve for checkpointing. These Blocks
-         are reserved per partition, so if you have very small partitions the
-         default (10) may be a mess for you. 
-         You can set this value to 0, but that does not mean checkpointing is
-         disabled at all. There only won't be any specially reserved blocks for
-         checkpointing, so if there is enough free space on the filesystem,
-         it will be used for checkpointing.
-
-         If unsure, leave at default (10), but don't wonder if there are always
-         2MB used on your large page device partition (10 x 2k pagesize). When
-         using small partitions or when being very small on space, you probably
-         want to set this to zero.
+          Give the number of Blocks to reserve for checkpointing.
+         Checkpointing saves the state at unmount so that mounting is
+         much faster as a scan of all the flash to regenerate this state
+         is not needed.  These Blocks are reserved per partition, so if
+         you have very small partitions the default (10) may be a mess
+         for you.  You can set this value to 0, but that does not mean
+         checkpointing is disabled at all. There only won't be any
+         specially reserved blocks for checkpointing, so if there is
+         enough free space on the filesystem, it will be used for
+         checkpointing.
+
+         If unsure, leave at default (10), but don't wonder if there are
+         always 2MB used on your large page device partition (10 x 2k
+         pagesize). When using small partitions or when being very small
+         on space, you probably want to set this to zero.
 
 config YAFFS_DISABLE_WIDE_TNODES
        bool "Turn off wide tnodes"
        depends on YAFFS_FS
        default n
        help
 
 config YAFFS_DISABLE_WIDE_TNODES
        bool "Turn off wide tnodes"
        depends on YAFFS_FS
        default n
        help
-         Wide tnodes are only used for large NAND arrays (>=32MB for
-         512-byte page devices and >=128MB for 2k page devices). They use 
-         slightly more RAM but are faster since they eliminate chunk group
+         Wide tnodes are only used for NAND arrays >=32MB for 512-byte
+         page devices and >=128MB for 2k page devices. They use slightly
+         more RAM but are faster since they eliminate chunk group
          searching.
 
          searching.
 
-         Setting this to 'y' will force tnode width to 16 bits and make
-         large arrays slower.
+         Setting this to 'y' will force tnode width to 16 bits and save
+         memory but make large arrays slower.
 
          If unsure, say N.
 
 
          If unsure, say N.
 
@@ -129,15 +135,15 @@ config YAFFS_ALWAYS_CHECK_CHUNK_ERASED
        default n
        help
           Normally YAFFS only checks chunks before writing until an erased
        default n
        help
           Normally YAFFS only checks chunks before writing until an erased
-         chunk is found. This helps to detect any partially written chunks
-         that might have happened due to power loss.
+         chunk is found. This helps to detect any partially written
+         chunks that might have happened due to power loss.
 
          Enabling this forces on the test that chunks are erased in flash
 
          Enabling this forces on the test that chunks are erased in flash
-         before writing to them. This takes more time but is potentially a 
-         bit more secure.
+         before writing to them. This takes more time but is potentially
+         bit more secure.
  
  
-         Suggest setting Y during development and ironing out driver issues
-         etc. Suggest setting to N if you want faster writing.                  
+         Suggest setting Y during development and ironing out driver
+         issues etc. Suggest setting to N if you want faster writing.  
 
          If unsure, say Y.
 
 
          If unsure, say Y.
 
index 72796a66e1dbb5c48393eeb39266259fa1f550cb..1155a670a05e5e22cb7892eeb68a892aade6e1f7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,16 @@
+
+# YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+# 
+# Copyright (C) 2002-2007 Aleph One Ltd.
+#   for Toby Churchill Ltd and Brightstar Engineering
+# 
+# Created by Charles Manning <charles@aleph1.co.uk>
+# 
+# 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.
+
+
 ifneq ($(KERNELRELEASE),)
        EXTRA_CFLAGS += -DYAFFS_OUT_OF_TREE
 
 ifneq ($(KERNELRELEASE),)
        EXTRA_CFLAGS += -DYAFFS_OUT_OF_TREE
 
index c858ba65b301be7a2fb776602cf0c7fdda9fc7a9..9635c7a73813f095c657f5bd7a08fc05448c73db 100644 (file)
@@ -1,8 +1,7 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
- * devextras.h
+ * YAFFS: Yet another Flash File System . A NAND-flash specific 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>
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  * published by the Free Software Foundation.
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  * published by the Free Software Foundation.
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
- *
+ */
+
+/*
  * This file is just holds extra declarations used during development.
  * Most of these are from kernel includes placed here so we can use them in 
  * applications.
  *
  * This file is just holds extra declarations used during development.
  * Most of these are from kernel includes placed here so we can use them in 
  * applications.
  *
- * $Id: devextras.h,v 1.2 2005-08-11 02:37:49 marty Exp $
- *
  */
 
 #ifndef __EXTRAS_H__
  */
 
 #ifndef __EXTRAS_H__
index 41fb3c5ac073803dab5595c3c1e4909215475205..b51a150108811c611f11b3fd6976ca963897ba11 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Martin Fouts <Martin.Fouts@palmsource.com> 
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
 #ifndef __YAFFS_CONFIG_H__
 #define __YAFFS_CONFIG_H__
 
 #ifndef __YAFFS_CONFIG_H__
 #define __YAFFS_CONFIG_H__
 
index 5c67f250cbd20d18471b58d250b279df15a9e6c9..93233889cf807dd62da226bd7f70250cab836924 100755 (executable)
@@ -2,7 +2,7 @@
 #
 # YAFFS: Yet another FFS. A NAND-flash specific file system.
 #
 #
 # YAFFS: Yet another FFS. A NAND-flash specific file system.
 #
-# Copyright (C) 2002 Aleph One Ltd.
+# Copyright (C) 2002-2006 Aleph One Ltd.
 # 
 # Created by Charles Manning <charles@aleph1.co.uk>
 # 
 # 
 # Created by Charles Manning <charles@aleph1.co.uk>
 # 
@@ -16,7 +16,7 @@
 #
 #  Somewhat "inspired by" the mtd patchin script
 #
 #
 #  Somewhat "inspired by" the mtd patchin script
 #
-#  $Id: patch-ker.sh,v 1.1 2005-07-31 09:04:13 marty Exp $
+#  $Id: patch-ker.sh,v 1.2 2007-02-12 16:55:25 wookey Exp $
 
 VERSION=0
 PATCHLEVEL=0
 
 VERSION=0
 PATCHLEVEL=0
index fba4cd3eede41379cb43f5dbf4d73290209aaa95..31d41904234e543abcbdb9144596328ce7142251 100644 (file)
@@ -1,26 +1,25 @@
 /*
 /*
- * 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>
  *   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.
  *
  *
  * 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>
  */
  
 #include <stdlib.h>
@@ -44,7 +43,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.2 2005-12-13 00:34:58 tpoynor Exp $";
+const char * mkyaffsimage_c_version = "$Id: mkyaffs2image.c,v 1.3 2007-02-12 16:55:27 wookey Exp $";
 
 
 typedef struct
 
 
 typedef struct
index fa9479ad3b227e7e32469b5386121255fcd49be1..e4c8fc68ee5bbd0ef3f85e7c380aa7b790fccd6e 100644 (file)
@@ -1,25 +1,23 @@
 /*
 /*
- * 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>
  *   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
  *
  * 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.
  *
+ */
+
+/*
+ * makeyaffsimage.c 
  *
  *
- * Nick Bane modifications flagged NCB
- *
- * Endian handling patches by James Ng.
- * 
- *
+ * Makes a YAFFS file system image that can be used to load up a file system.
  */
  
 #include <stdlib.h>
  */
  
 #include <stdlib.h>
index c61eaa3db88926e3a1e178d576d42ffbed3a0ba9..0e6f7e1d2e1b564ef27b1da836f88d5f60e4f4a2 100644 (file)
@@ -1,6 +1,7 @@
-/* YAFFS: Yet another FFS. A NAND-flash specific file system. 
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific 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>
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
@@ -12,7 +13,7 @@
  */
 
 const char *yaffs_checkptrw_c_version =
  */
 
 const char *yaffs_checkptrw_c_version =
-    "$Id: yaffs_checkptrw.c,v 1.11 2006-11-11 23:27:04 charles Exp $";
+    "$Id: yaffs_checkptrw.c,v 1.12 2007-02-12 16:55:25 wookey Exp $";
 
 
 #include "yaffs_checkptrw.h"
 
 
 #include "yaffs_checkptrw.h"
index 9e585727f0f98cef1394b02e432cfa35715ece6f..da78a06f4ce770157ab604b6cb709437540d439e 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
 #ifndef __YAFFS_CHECKPTRW_H__
 #define __YAFFS_CHECKPTRW_H__
 
 #ifndef __YAFFS_CHECKPTRW_H__
 #define __YAFFS_CHECKPTRW_H__
 
index 813ce6d48f8543e2db7e25b9b56d9c0430a8ae7c..2eb69bad277f7c24570e563d5032cf4bb9158cfe 100644 (file)
@@ -1,16 +1,15 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
  *
  *
- * yaffs_ecc.c: ECC generation/correction algorithms.
- *
- * 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>
  *
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  *
+ * 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 Lesser General Public License
- * version 2.1 as published by the Free Software Foundation.
  */
 
  /*
  */
 
  /*
@@ -31,7 +30,7 @@
  */
 
 const char *yaffs_ecc_c_version =
  */
 
 const char *yaffs_ecc_c_version =
-    "$Id: yaffs_ecc.c,v 1.7 2006-09-14 22:02:46 charles Exp $";
+    "$Id: yaffs_ecc.c,v 1.8 2007-02-12 16:55:25 wookey Exp $";
 
 #include "yportenv.h"
 
 
 #include "yportenv.h"
 
index 5f026a09a0f208a420e0d06a2f8b49648a7421ba..40fd02b9653ec750fe66ce4f991a3121e0310415 100644 (file)
@@ -1,16 +1,16 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 
  *
  *
- * yaffs_ecc.c: ECC generation/correction algorithms.
- *
- * 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>
  *
  * This program is free software; you can redistribute it and/or modify
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  *
  * 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
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
  * published by the Free Software Foundation.
  *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  */
 
  /*
  */
 
  /*
index df0870d1afeb2d79765833944ce554774b2c5023..57a8c108b7eba87b3776d526076dd634a0523b92 100644 (file)
@@ -1,15 +1,25 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system.
- * yaffs_fs.c
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific 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>
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
+ * Acknowledgements:
+ * Luc van OostenRyck for numerous patches.
+ * Nick Bane for numerous patches.
+ * Nick Bane for 2.5/2.6 integration.
+ * Andras Toth for mknod rdev issue.
+ * Michael Fischer for finding the problem with inode inconsistency.
+ * Some code bodily lifted from JFFS
  *
  * 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.
+ *
+ */
+
+/*
  *
  * This is the file system front-end to YAFFS that hooks it up to
  * the VFS.
  *
  * This is the file system front-end to YAFFS that hooks it up to
  * the VFS.
  * >> 2.6: sb->s_fs_info  points to the yaffs_Device associated with this
  *         superblock
  * >> inode->u.generic_ip points to the associated yaffs_Object.
  * >> 2.6: sb->s_fs_info  points to the yaffs_Device associated with this
  *         superblock
  * >> inode->u.generic_ip points to the associated yaffs_Object.
- *
- * Acknowledgements:
- * * Luc van OostenRyck for numerous patches.
- * * Nick Bane for numerous patches.
- * * Nick Bane for 2.5/2.6 integration.
- * * Andras Toth for mknod rdev issue.
- * * Michael Fischer for finding the problem with inode inconsistency.
- * * Some code bodily lifted from JFFS2.
  */
 
 const char *yaffs_fs_c_version =
  */
 
 const char *yaffs_fs_c_version =
-    "$Id: yaffs_fs.c,v 1.56 2007-01-19 04:07:48 charles Exp $";
+    "$Id: yaffs_fs.c,v 1.57 2007-02-12 16:55:25 wookey Exp $";
 extern const char *yaffs_guts_c_version;
 
 #include <linux/version.h>
 extern const char *yaffs_guts_c_version;
 
 #include <linux/version.h>
index f88851eea5c89e971120c6267b6a7e012f1bebe9..ab22c85e54979803998fb711854a274bfef5c3af 100644 (file)
@@ -1,7 +1,7 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system.
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific 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>
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
@@ -13,7 +13,7 @@
  */
 
 const char *yaffs_guts_c_version =
  */
 
 const char *yaffs_guts_c_version =
-    "$Id: yaffs_guts.c,v 1.45 2006-11-14 03:07:17 charles Exp $";
+    "$Id: yaffs_guts.c,v 1.46 2007-02-12 16:55:26 wookey Exp $";
 
 #include "yportenv.h"
 
 
 #include "yportenv.h"
 
index 543bf628c77f91bfe3b8d7086183c1054a336279..9ef651d0f4475a31daf153c7b74d493b384ef683 100644 (file)
@@ -1,8 +1,7 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system.
- * yaffs_guts.h: Configuration etc for yaffs_guts
+ * YAFFS: Yet another Flash File System . A NAND-flash specific 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>
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
  * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
- *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
- *
- * $Id: yaffs_guts.h,v 1.25 2006-10-13 08:52:49 charles Exp $
  */
 
 #ifndef __YAFFS_GUTS_H__
  */
 
 #ifndef __YAFFS_GUTS_H__
index 04c491844c743faff90eef5a386c86d886598dd3..582563abdf0b73445964126b0f7cbc17d0312f91 100644 (file)
@@ -1,8 +1,7 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
- * yaffs_mtdif.c  NAND mtd wrapper functions.
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific 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>
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
@@ -14,7 +13,7 @@
  */
 
 const char *yaffs_mtdif_c_version =
  */
 
 const char *yaffs_mtdif_c_version =
-    "$Id: yaffs_mtdif.c,v 1.17 2006-11-29 20:21:12 charles Exp $";
+    "$Id: yaffs_mtdif.c,v 1.18 2007-02-12 16:55:26 wookey Exp $";
 
 #include "yportenv.h"
 
 
 #include "yportenv.h"
 
index b27366459035499a770a89c998984fbcd3522cb0..f75e08c23a40ef11f825f0e1e6701c579a2d111c 100644 (file)
@@ -1,8 +1,7 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
- * yaffs_mtdif.h  NAND mtd interface wrappers
+ * YAFFS: Yet another Flash File System . A NAND-flash specific 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>
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
  * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
- *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
- *
- * $Id: yaffs_mtdif.h,v 1.3 2005-08-11 01:07:43 marty Exp $
  */
 
 #ifndef __YAFFS_MTDIF_H__
  */
 
 #ifndef __YAFFS_MTDIF_H__
index 4e8c3358e8308fafc912dd07eef6d26cece7b49c..7985f1ed03be7f268c8486b917a5099dcd9f6555 100644 (file)
@@ -1,8 +1,7 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
- * yaffs_mtdif.c  NAND mtd wrapper functions.
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific 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>
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
@@ -16,7 +15,7 @@
 /* mtd interface for YAFFS2 */
 
 const char *yaffs_mtdif2_c_version =
 /* mtd interface for YAFFS2 */
 
 const char *yaffs_mtdif2_c_version =
-    "$Id: yaffs_mtdif2.c,v 1.15 2006-11-08 06:24:34 charles Exp $";
+    "$Id: yaffs_mtdif2.c,v 1.16 2007-02-12 16:55:26 wookey Exp $";
 
 #include "yportenv.h"
 
 
 #include "yportenv.h"
 
index 06ad5420203d2daa05f0bd74b387d98514f7ef42..e70d751c21eb9d188a0785df60a8db7bbcf33c1b 100644 (file)
@@ -1,16 +1,16 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
- * yaffs_mtdif.c  NAND mtd wrapper functions.
+ * YAFFS: Yet another Flash File System . A NAND-flash specific 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>
  *
  * This program is free software; you can redistribute it and/or modify
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  *
  * 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
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
  * published by the Free Software Foundation.
  *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  */
 
 #ifndef __YAFFS_MTDIF2_H__
  */
 
 #ifndef __YAFFS_MTDIF2_H__
index 14ae3308a79333f419d5ae6e5800237c2b5e77b2..b919da07b8384b90564383f8257bffd82803caaa 100644 (file)
@@ -1,7 +1,7 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific 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>
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
@@ -13,7 +13,7 @@
  */
  
 const char *yaffs_nand_c_version =
  */
  
 const char *yaffs_nand_c_version =
-    "$Id: yaffs_nand.c,v 1.5 2006-11-08 09:52:12 charles Exp $";
+    "$Id: yaffs_nand.c,v 1.6 2007-02-12 16:55:26 wookey Exp $";
 
 #include "yaffs_nand.h"
 #include "yaffs_tagscompat.h"
 
 #include "yaffs_nand.h"
 #include "yaffs_tagscompat.h"
index 21e85c4c131767c555e2bb93c9cd4091a254d086..8ed1a2d5c4a39bc2bc20176741cd0e572562c06b 100644 (file)
@@ -1,15 +1,16 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
+ * YAFFS: Yet another Flash File System . A NAND-flash specific 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>
  *
  * This program is free software; you can redistribute it and/or modify
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  *
  * 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
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
  * published by the Free Software Foundation.
  *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  */
 
 #ifndef __YAFFS_NAND_H__
  */
 
 #ifndef __YAFFS_NAND_H__
index 483f1406da9804fe5748d149dfc08aace1368b65..13520e10593210f4c70de42289268a88f5d4f2b9 100644 (file)
@@ -1,7 +1,7 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
+ * YAFFS: Yet another Flash File System . A NAND-flash specific 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>
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
  * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
- *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
- *
- * yaffs_nandemul2k.h: Interface to emulated NAND functions (2k page size)
- *
- * $Id: yaffs_nandemul2k.h,v 1.2 2005-08-11 02:37:49 marty Exp $
  */
 
  */
 
+/* Interface to emulated NAND functions (2k page size) */
+
 #ifndef __YAFFS_NANDEMUL2K_H__
 #define __YAFFS_NANDEMUL2K_H__
 
 #ifndef __YAFFS_NANDEMUL2K_H__
 #define __YAFFS_NANDEMUL2K_H__
 
index 920fed2b56d11b6549ac1d2bcabec0ea6b822680..43f5873e83f2877dc5c5c96a7e077323039bad01 100644 (file)
@@ -1,3 +1,17 @@
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * 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.
+ *
+ */
+
 #include "yaffs_packedtags1.h"
 #include "yportenv.h"
 
 #include "yaffs_packedtags1.h"
 #include "yportenv.h"
 
index ea43ad66373b831aebcef0c7adf1a946648b50c2..627b2f8f5282da825cbb5a4d68302e408b0f8b41 100644 (file)
@@ -1,4 +1,19 @@
-// This is used to pack YAFFS1 tags, not YAFFS2 tags.
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+/* This is used to pack YAFFS1 tags, not YAFFS2 tags. */
 
 #ifndef __YAFFS_PACKEDTAGS1_H__
 #define __YAFFS_PACKEDTAGS1_H__
 
 #ifndef __YAFFS_PACKEDTAGS1_H__
 #define __YAFFS_PACKEDTAGS1_H__
index 69d78b2df3dbc5abcac4e5840fd42c9adaba3946..624f8ace1176c1645fce0faf77305369356ead31 100644 (file)
@@ -1,16 +1,15 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
  *
  *
- * yaffs_packedtags2.c: Tags packing for YAFFS2
- *
- * 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>
  *
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  *
+ * 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 Lesser General Public License
- * version 2.1 as published by the Free Software Foundation.
  */
 
 #include "yaffs_packedtags2.h"
  */
 
 #include "yaffs_packedtags2.h"
index 4eb1416a309b6b0636a401abddc7de47d97604a4..7c4a72c483daa83477db3df3a7d4247e1bfb6777 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
 /* This is used to pack YAFFS2 tags, not YAFFS1tags. */
 
 #ifndef __YAFFS_PACKEDTAGS2_H__
 /* This is used to pack YAFFS2 tags, not YAFFS1tags. */
 
 #ifndef __YAFFS_PACKEDTAGS2_H__
index 3a415b0e3f0479d2b694fa46225bfe3434ff8050..6d3f554c9a0ee2bf765d8685704e764ecbd75c9c 100644 (file)
@@ -1,8 +1,7 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system.
- * yaffs_qsort.h: Interface to BSD-licensed qsort routine.
+ * YAFFS: Yet another Flash File System . A NAND-flash specific 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>
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
  * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
- * $Id: yaffs_qsort.h,v 1.2 2006-11-07 23:20:09 charles Exp $
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  */
 
  */
 
+
 #ifndef __YAFFS_QSORT_H__
 #define __YAFFS_QSORT_H__
 
 #ifndef __YAFFS_QSORT_H__
 #define __YAFFS_QSORT_H__
 
index b51bccd6c91ab50a099e6a262739bfdf460af8a7..7f8442c05f2f251001232dd4929cc41edcb28807 100644 (file)
@@ -1,8 +1,8 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
- * yaffs_tagscompat.h: Tags compatability layer to use YAFFS1 formatted NAND.
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific 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>
  *
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  *
@@ -10,7 +10,6 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  *
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  *
- * $Id: yaffs_tagscompat.c,v 1.8 2005-11-29 20:54:32 marty Exp $
  */
 
 #include "yaffs_guts.h"
  */
 
 #include "yaffs_guts.h"
index 7922ab358d7abbb7fb01747551978aa8eb64a274..c746ad91d9e10bd3e20fe40aaeb4531b883d9b3a 100644 (file)
@@ -1,22 +1,18 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
- * yaffs_ramdisk.h: yaffs ram disk component
+ * YAFFS: Yet another Flash File System . A NAND-flash specific 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>
  *
  * This program is free software; you can redistribute it and/or modify
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  *
  * 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
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
  * published by the Free Software Foundation.
  *
- * $Id: yaffs_tagscompat.h,v 1.2 2005-08-11 02:33:03 marty Exp $
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  */
 
  */
 
-/* This provides a ram disk under yaffs.
- * NB this is not intended for NAND emulation.
- * Use this with dev->useNANDECC enabled, then ECC overheads are not required.
- */
 #ifndef __YAFFS_TAGSCOMPAT_H__
 #define __YAFFS_TAGSCOMPAT_H__
 
 #ifndef __YAFFS_TAGSCOMPAT_H__
 #define __YAFFS_TAGSCOMPAT_H__
 
index 101ad03ffc12164cab46fc1d12db85a611e72f98..c2ab2b0c15cbcd99331381739d44c9238b4d02fa 100644 (file)
@@ -1,8 +1,7 @@
-
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific 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>
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
@@ -11,7 +10,6 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  *
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  *
- * $Id: yaffs_tagsvalidity.c,v 1.2 2005-08-11 02:33:03 marty Exp $
  */
 
 #include "yaffs_tagsvalidity.h"
  */
 
 #include "yaffs_tagsvalidity.h"
index 371445e84951917b939923f3a42eda617ca44791..ba56727fffa837efb27039ca29deaf67602e4983 100644 (file)
@@ -1,19 +1,18 @@
-
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
+ * YAFFS: Yet another Flash File System . A NAND-flash specific 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>
  *
  * This program is free software; you can redistribute it and/or modify
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  *
  * 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
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
  * published by the Free Software Foundation.
  *
- * $Id: yaffs_tagsvalidity.h,v 1.2 2005-08-11 02:33:03 marty Exp $
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  */
  */
-//yaffs_tagsvalidity.h
+
 
 #ifndef __YAFFS_TAGS_VALIDITY_H__
 #define __YAFFS_TAGS_VALIDITY_H__
 
 #ifndef __YAFFS_TAGS_VALIDITY_H__
 #define __YAFFS_TAGS_VALIDITY_H__
index d6ec50ceadf2b9317db0f18f4ce4fb9eacb5ba23..0cfdfcf6baad48214d2c8ec21028ee7b6c1602c5 100644 (file)
@@ -1,8 +1,7 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system.
- * yaffsinterface.h: Interface to the guts of yaffs.
+ * YAFFS: Yet another Flash File System . A NAND-flash specific 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>
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
@@ -12,7 +11,6 @@
  * published by the Free Software Foundation.
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  * published by the Free Software Foundation.
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
- *
  */
 
 #ifndef __YAFFSINTERFACE_H__
  */
 
 #ifndef __YAFFSINTERFACE_H__
index 3e6caaeaf0e9ef54f19e1183709676e7379feae3..b46b9a9367d3202f129018ac401ae90db81685da 100644 (file)
@@ -1,9 +1,7 @@
 /*
 /*
- * YAFFS: Yet another FFS. A NAND-flash specific file system. 
- * yportenv.h: Portable services used by yaffs. This is done to allow
- * simple migration from kernel space into app space for testing.
+ * YAFFS: Yet another Flash File System . A NAND-flash specific 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>
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
  * it under the terms of the GNU Lesser General Public License version 2.1 as
  * published by the Free Software Foundation.
  *
- *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
- *
- * $Id: yportenv.h,v 1.12 2007-01-19 04:07:48 charles Exp $
- *
  */
 
  */
 
+
 #ifndef __YPORTENV_H__
 #define __YPORTENV_H__
 
 #ifndef __YPORTENV_H__
 #define __YPORTENV_H__