# HG changeset patch # User wookey # Date 1171298990 0 # Node ID 1c249b949b118c16615f8c06567440b6961b7e68 # Parent 27d73e470d9dac745cf36ab3df9c33309f5cddf7 normalise licence headers diff --git a/direct/dtest.c b/direct/dtest.c --- a/direct/dtest.c +++ b/direct/dtest.c @@ -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 + * + * 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. + * + */ + /* * Test code for the "direct" interface. */ diff --git a/direct/yaffs_fileem.c b/direct/yaffs_fileem.c --- a/direct/yaffs_fileem.c +++ b/direct/yaffs_fileem.c @@ -1,8 +1,8 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. - * yaffs_ramdisk.c: 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 * @@ -12,8 +12,10 @@ * */ -// This provides a YAFFS nand emulation on a file. -// THis is only intended as test code to test persistence etc. +/* + * This provides a YAFFS nand emulation on a file. + * This is only intended as test code to test persistence etc. + */ const char *yaffs_flashif_c_version = "$Id$"; diff --git a/direct/yaffs_fileem2k.c b/direct/yaffs_fileem2k.c --- a/direct/yaffs_fileem2k.c +++ b/direct/yaffs_fileem2k.c @@ -1,8 +1,8 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. - * yaffs_ramdisk.c: 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 * @@ -12,8 +12,10 @@ * */ -// This provides a YAFFS nand emulation on a file for emulating 2kB pages. -// THis is only intended as test code to test persistence etc. +/* + * This provides a YAFFS nand emulation on a file for emulating 2kB pages. + * This is only intended as test code to test persistence etc. + */ const char *yaffs_flashif_c_version = "$Id$"; diff --git a/direct/yaffs_fileem2k.h b/direct/yaffs_fileem2k.h --- a/direct/yaffs_fileem2k.h +++ b/direct/yaffs_fileem2k.h @@ -1,15 +1,16 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. - * yaffs_ramdisk.c: 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 * * 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 __FILEEM2K_H__ diff --git a/direct/yaffs_flashif.c b/direct/yaffs_flashif.c --- a/direct/yaffs_flashif.c +++ b/direct/yaffs_flashif.c @@ -1,8 +1,8 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. - * yaffs_ramdisk.c: 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 * @@ -12,9 +12,6 @@ * */ -// This provides a rma disk under yaffs. -// NB this is not intended for NAND emulation. -// Use this with dev->useNANDECC enabled, then ECC overheads are not required. const char *yaffs_flashif_c_version = "$Id$"; diff --git a/direct/yaffs_flashif.h b/direct/yaffs_flashif.h --- a/direct/yaffs_flashif.h +++ b/direct/yaffs_flashif.h @@ -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 * * 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. * - * $Id$ + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. */ -// This provides a rma 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_FLASH_H__ #define __YAFFS_FLASH_H__ diff --git a/direct/yaffs_ramdisk.c b/direct/yaffs_ramdisk.c --- a/direct/yaffs_ramdisk.c +++ b/direct/yaffs_ramdisk.c @@ -1,8 +1,8 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. - * yaffs_ramdisk.c: 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 * @@ -12,9 +12,12 @@ * */ -// This provides a rma disk under yaffs. -// NB this is not intended for NAND emulation. -// Use this with dev->useNANDECC enabled, then ECC overheads are not required. +/* + * yaffs_ramdisk.c: yaffs ram disk component + * 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. + */ const char *yaffs_ramdisk_c_version = "$Id$"; diff --git a/direct/yaffs_ramdisk.h b/direct/yaffs_ramdisk.h --- a/direct/yaffs_ramdisk.h +++ b/direct/yaffs_ramdisk.h @@ -1,21 +1,21 @@ /* - * 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 * * 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. * - * $Id$ + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. */ -// This provides a rma disk under yaffs. -// NB this is not intended for NAND emulation. -// Use this with dev->useNANDECC enabled, then ECC overheads are not required. +/* + * yaffs_ramdisk.h: yaffs ram disk component + */ #ifndef __YAFFS_RAMDISK_H__ #define __YAFFS_RAMDISK_H__ diff --git a/direct/yaffs_ramem2k.c b/direct/yaffs_ramem2k.c --- a/direct/yaffs_ramem2k.c +++ b/direct/yaffs_ramem2k.c @@ -1,8 +1,7 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. - * yaffs_ramem.c NAND emulation on top of a chunk of RAM + * 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 @@ -12,7 +11,10 @@ * published by the Free Software Foundation. * */ - //yaffs_ramem2k.c: RAM emulation in-kernel for 2K pages (YAFFS2) + +/* + * yaffs_ramem2k.c: RAM emulation in-kernel for 2K pages (YAFFS2) + */ const char *yaffs_ramem2k_c_version = "$Id$"; diff --git a/direct/yaffscfg.c b/direct/yaffscfg.c --- a/direct/yaffscfg.c +++ b/direct/yaffscfg.c @@ -1,5 +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-2007 Aleph One Ltd. + * for Toby Churchill Ltd and Brightstar Engineering + * + * Created by Charles Manning + * + * 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. + * + */ + +/* * yaffscfg.c The configuration for the "direct" use of yaffs. * * This file is intended to be modified to your requirements. diff --git a/direct/yaffscfg.h b/direct/yaffscfg.h --- a/direct/yaffscfg.h +++ b/direct/yaffscfg.h @@ -1,7 +1,22 @@ /* -* Header file for using yaffs in an application via -* a direct interface. -*/ + * 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 + * + * 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. + */ + +/* + * Header file for using yaffs in an application via + * a direct interface. + */ #ifndef __YAFFSCFG_H__ diff --git a/direct/yaffscfg2k.c b/direct/yaffscfg2k.c --- a/direct/yaffscfg2k.c +++ b/direct/yaffscfg2k.c @@ -1,6 +1,19 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. - * yaffscfg.c The configuration for the "direct" use of yaffs. + * 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 + * + * 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. + * + */ + +/* + * yaffscfg2k.c The configuration for the "direct" use of yaffs. * * This file is intended to be modified to your requirements. * There is no need to redistribute this file. diff --git a/direct/yaffsfs.c b/direct/yaffsfs.c --- a/direct/yaffsfs.c +++ b/direct/yaffsfs.c @@ -1,8 +1,8 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. - * yaffsfs.c The interface functions for using YAFFS via a "direct" interface. + * 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 * diff --git a/direct/yaffsfs.h b/direct/yaffsfs.h --- a/direct/yaffsfs.h +++ b/direct/yaffsfs.h @@ -1,7 +1,22 @@ /* -* Header file for using yaffs in an application via -* a direct interface. -*/ + * 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 + * + * 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. + */ + +/* + * Header file for using yaffs in an application via + * a direct interface. + */ #ifndef __YAFFSFS_H__ diff --git a/direct/ydirectenv.h b/direct/ydirectenv.h --- a/direct/ydirectenv.h +++ b/direct/ydirectenv.h @@ -1,8 +1,7 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. - * ydirectenv.h: Environment wrappers for direct. + * 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 @@ -11,13 +10,13 @@ * 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. - * - * $Id$ - * */ - + +/* + * ydirectenv.h: Environment wrappers for YAFFS direct. + */ + #ifndef __YDIRECTENV_H__ #define __YDIRECTENV_H__