yaffs Normalized headers for release branch. aleph1-release-branch
authorTimothy Manning <tfhmanning@gmail.com>
Mon, 25 Oct 2010 23:17:53 +0000 (12:17 +1300)
committerTimothy Manning <tfhmanning@gmail.com>
Mon, 25 Oct 2010 23:17:53 +0000 (12:17 +1300)
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
24 files changed:
direct/basic-test/ynorsim.c
direct/basic-test/ynorsim.h
direct/basic-test/yramsim.c
direct/python/examples.py
direct/python/yaffs_python_helper.c
direct/python/yaffsfs.py
direct/tests/fuzzer.c
direct/tests/nor_stress.h
direct/yaffs_nandif.c
direct/yaffs_nandif.h
linux-tests/xattrtest.c
mtdemul/nandemul2k.c
patches/yaffs_mtdif2.c
utils/mkyaffs2image.c
utils/mkyaffsimage.c
yaffs_allocator.c
yaffs_bitmap.h
yaffs_guts.c
yaffs_linux_allocator.c
yaffs_mtdif1.c
yaffs_nameval.h
yaffs_verify.h
yaffs_yaffs1.c
yaffs_yaffs2.h

index 0c691a6a58c4418ee377ed4e8d76f16dbce535a0..f190b6ba4c220c5f373b294a196507de0caa9e55 100644 (file)
@@ -1,4 +1,15 @@
-
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2010 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 "ynorsim.h"
 
index 2c70ad9a408b05a160a4137a61ce959b3620e3ec..12f2fdce8d1507b3fcca39a33fdba000535f5b05 100644 (file)
@@ -1,3 +1,17 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 
+ *
+ * Copyright (C) 2002-2010 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 __Y_NORSIM_H__
 #define __Y_NORSIM_H__
index caa1aac809ba05e1ca4534f9c656088392a1c63e..6c80ef9466f06cfeb19cc28d35f5981ba7f94ee7 100644 (file)
@@ -1,4 +1,19 @@
-// NAND Simulator for testing YAFFS
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2010 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.
+ */
+
+/*
+ * NAND Simulator for testing YAFFS
+ */
 
 #include <string.h>
 
index 6b0c04572f4695b027355c77efdc960352901dfb..51835da2e294ca9068a03302a9dcb5c9a949ee17 100644 (file)
@@ -1,3 +1,17 @@
+##
+## YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+##
+## Copyright (C) 2002-2010 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.
+##
+
+
 from yaffsfs import *
 
 def yaffs_ls(dname):
index 425bcda1e83bfc1ab990839699361a4d367c4a59..e9e04f6fd912112e42e988886b5988950f091f7b 100644 (file)
@@ -1,4 +1,3 @@
-
 /*
  * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
  *
index 4d0e5db93047964b3f39d115f12d26e322b376fb..2b52466bec2711eec48ffb487172ec827bbb0ac3 100644 (file)
@@ -1,3 +1,16 @@
+##
+## YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+##
+## Copyright (C) 2002-2010 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.
+##
+
 from ctypes import *
 cdll.LoadLibrary("./libyaffsfs.so")
 ylib = CDLL("./libyaffsfs.so")
index 64d307f97ff8cc93eb62c63bdc653aa4d2e92477..2eedbfa7c750458ae49dd2c5430823cb39b3966c 100644 (file)
@@ -9,7 +9,9 @@
  * 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.
- *
+ */
+
+/*
  * Fuzzer to fuzz a file
  */
 
index 7ebef781aa3727e4e33088faf222427acabcfdb6..69c335d067fdba0898871e6dbd38562a89210a00 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
@@ -7,9 +7,10 @@
  * 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.
  *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  */
 
 #ifndef __NOR_STRESS_H__
index 26d4f69a0b704978cce1494b695289e811416a2d..a4289490d934b3308b2811bc908fc4c52cbc9b2c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
  *
- * Copyright (C) 2002-2007 Aleph One Ltd.
+ * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
index cf4562c093280dffcc77b620ff3608756bc7c511..954982493ae90f72f5d27656c3cc870922f1b7aa 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 
  *
- * Copyright (C) 2002-2007 Aleph One Ltd.
+ * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
index 14df34ac4161d72912a628cae2fb2f99efe57abb..d1e5cf0ed97a4a20ef6ba0555ca15f79c7e42d31 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2010 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.
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdint.h>
index 7efa8d45d6e383f0764413d14e7d5f341014a99a..69c7b955d0fe160775ab3e06b453062e66285d67 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
  *
- * Copyright (C) 2002-2007 Aleph One Ltd.
+ * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
index 8f73ac4e25c9dfe63d2b71949d9081b4910a5cb4..85be7013ac9a811123838085021f99adfa0ebacc 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * YAFFS: Yet another FFS. A NAND-flash specific file system. 
  *
- * Copyright (C) 2002 Aleph One Ltd.
+ * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
index b5f96060d6b4021b4fcd69bafe4b8e08cfe29562..354868118ee409936e0ee327d4a413146a687e70 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
  *
- * Copyright (C) 2002-2007 Aleph One Ltd.
+ * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
index e8434e8bd621a1fab7ac99015060cab41312d529..dcf77069ee614bdaed72b8dc8449c47ba6548031 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
  *
- * Copyright (C) 2002-2007 Aleph One Ltd.
+ * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
index ab44bc7d42a04e0fb33d74b891951c06c82307f9..a284439cfa62e070b959cd65d49f3a6a385c93ba 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
  *
  * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
@@ -7,13 +7,12 @@
  * 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
+ * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
- *
- * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  */
 
 
+
 #include "yaffs_allocator.h"
 #include "yaffs_guts.h"
 #include "yaffs_trace.h"
index a0ad1308696b5f507541221c25181e6b37e39bdf..00cca2c0a3602879269637658f5adea07078d5c1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
  *
  * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
@@ -7,8 +7,10 @@
  * 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.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  */
 
 /*
index 7e97a5f0eadc0aad888f3ed30c92cf7b1563c3d9..ebe7e772ea7a86a2177c4be11604d449db8a11b8 100644 (file)
@@ -10,6 +10,7 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
+
 #include "yportenv.h"
 #include "yaffs_trace.h"
 
index d4205fa25f976affada958f132907462440425c7..e91782a188f09f6984a3bf9dc7dd67c7992b1a32 100644 (file)
@@ -11,7 +11,9 @@
  * published by the Free Software Foundation.
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
- *
+ */
+
+/*
  * Note: Tis code is currently unused. Being checked in in case it becomes useful.
  */
 
index b14a2549ca6c51b1f7cd3831002b80598837f320..3e2a10a62d67e756d546d71ab575a0767cf10459 100644 (file)
@@ -1,10 +1,11 @@
 /*
  * YAFFS: Yet another FFS. A NAND-flash specific file system.
- * yaffs_mtdif1.c  NAND mtd interface functions for small-page NAND.
  *
  * Copyright (C) 2002-2010 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.
index 4255f3b053e85592d9ce253f7c9e0d219511be26..bd8085937eb36f477fa9ed004bd6b8436c35fad4 100644 (file)
@@ -12,6 +12,7 @@
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  */
+
 #ifndef __NAMEVAL_H__
 #define __NAMEVAL_H__
 
index 8a6f75109026c48f656c9f3b00396c123d62e33a..3dbcefd1664443de232b83297f4ed67d8571fd67 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
  *
  * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
@@ -7,8 +7,10 @@
  * 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.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  */
 
 #ifndef __YAFFS_VERIFY_H__
index 78cc819946ee4958277311f823c7a27c6a927daf..642fd5a4d54e6603a5f5c8bb9ccba892c203eed1 100644 (file)
@@ -10,6 +10,7 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
+
 #include "yaffs_yaffs1.h"
 #include "yportenv.h"
 #include "yaffs_trace.h"
index 67dc8f15fee1665ee12b0e6b8fddf3a05f513148..08ba36300cb0b7e58bd35b553ea962385cd2c1ec 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
  *
  * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
@@ -7,8 +7,10 @@
  * 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.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  */
 
 #ifndef __YAFFS_YAFFS2_H__