From 170ea32c52fd2d9b7cbda9b169ad44038b1d15cf Mon Sep 17 00:00:00 2001 From: wookey Date: Mon, 12 Feb 2007 16:49:50 +0000 Subject: [PATCH 1/1] normalise licence headers --- direct/dtest.c | 14 ++++++++++++++ direct/yaffs_fileem.c | 14 ++++++++------ direct/yaffs_fileem2k.c | 14 ++++++++------ direct/yaffs_fileem2k.h | 9 +++++---- direct/yaffs_flashif.c | 11 ++++------- direct/yaffs_flashif.h | 14 +++++--------- direct/yaffs_ramdisk.c | 17 ++++++++++------- direct/yaffs_ramdisk.h | 16 ++++++++-------- direct/yaffs_ramem2k.c | 12 +++++++----- direct/yaffscfg.c | 15 ++++++++++++++- direct/yaffscfg.h | 21 ++++++++++++++++++--- direct/yaffscfg2k.c | 17 +++++++++++++++-- direct/yaffsfs.c | 8 ++++---- direct/yaffsfs.h | 21 ++++++++++++++++++--- direct/ydirectenv.h | 15 +++++++-------- 15 files changed, 145 insertions(+), 73 deletions(-) diff --git a/direct/dtest.c b/direct/dtest.c index 1704ac5..66b8db1 100644 --- 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 index 8295786..98af7ee 100644 --- 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,10 +12,12 @@ * */ -// 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: yaffs_fileem.c,v 1.1 2004-11-03 08:29:28 charles Exp $"; +const char *yaffs_flashif_c_version = "$Id: yaffs_fileem.c,v 1.2 2007-02-12 16:49:50 wookey Exp $"; #include "yportenv.h" diff --git a/direct/yaffs_fileem2k.c b/direct/yaffs_fileem2k.c index ede9340..934d90d 100644 --- 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,10 +12,12 @@ * */ -// 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: yaffs_fileem2k.c,v 1.10 2006-11-13 07:16:37 charles Exp $"; +const char *yaffs_flashif_c_version = "$Id: yaffs_fileem2k.c,v 1.11 2007-02-12 16:49:50 wookey Exp $"; #include "yportenv.h" diff --git a/direct/yaffs_fileem2k.h b/direct/yaffs_fileem2k.h index 5b24ef2..e694c92 100644 --- 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 index 73c07c8..5da0670 100644 --- 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,11 +12,8 @@ * */ -// 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: yaffs_flashif.c,v 1.1 2004-11-03 08:29:28 charles Exp $"; +const char *yaffs_flashif_c_version = "$Id: yaffs_flashif.c,v 1.2 2007-02-12 16:49:50 wookey Exp $"; #include "yportenv.h" diff --git a/direct/yaffs_flashif.h b/direct/yaffs_flashif.h index 5eb138a..f7f4e42 100644 --- 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: yaffs_flashif.h,v 1.1 2004-11-03 08:29:28 charles Exp $ + * 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 index b19a650..bcb44f8 100644 --- 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,11 +12,14 @@ * */ -// 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: yaffs_ramdisk.c,v 1.2 2004-11-22 03:22:25 charles Exp $"; +const char *yaffs_ramdisk_c_version = "$Id: yaffs_ramdisk.c,v 1.3 2007-02-12 16:49:50 wookey Exp $"; #include "yportenv.h" diff --git a/direct/yaffs_ramdisk.h b/direct/yaffs_ramdisk.h index 8ada72a..045ab42 100644 --- 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: yaffs_ramdisk.h,v 1.1 2004-11-03 08:29:28 charles Exp $ + * 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 index 7ce6a3e..96fae0b 100644 --- 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,10 +11,13 @@ * 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: yaffs_ramem2k.c,v 1.1 2005-08-09 01:00:37 charles Exp $"; +const char *yaffs_ramem2k_c_version = "$Id: yaffs_ramem2k.c,v 1.2 2007-02-12 16:49:50 wookey Exp $"; #ifndef __KERNEL__ #define CONFIG_YAFFS_RAM_ENABLED diff --git a/direct/yaffscfg.c b/direct/yaffscfg.c index 42c9dd2..93bb193 100644 --- 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 index 4325aa2..2a60dc1 100644 --- 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 index fee6175..abc6a21 100644 --- 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 index 9ac4493..bd94a89 100644 --- 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 * @@ -25,7 +25,7 @@ #endif -const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.15 2006-11-17 01:43:48 charles Exp $"; +const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.16 2007-02-12 16:49:50 wookey Exp $"; // configurationList is the list of devices that are supported static yaffsfs_DeviceConfiguration *yaffsfs_configurationList; diff --git a/direct/yaffsfs.h b/direct/yaffsfs.h index c5e817b..9afe60a 100644 --- 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 index c651394..40d0d6d 100644 --- 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,v 1.4 2006-10-03 10:13:03 charles Exp $ - * */ - + +/* + * ydirectenv.h: Environment wrappers for YAFFS direct. + */ + #ifndef __YDIRECTENV_H__ #define __YDIRECTENV_H__ -- 2.30.2