forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: David Woodhouse <[email protected]>
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
Aug 8, 2010
1 parent
6088c05
commit a1452a3
Showing
37 changed files
with
416 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,22 @@ | ||
/* | ||
* Read flash partition table from command line | ||
* | ||
* Copyright 2002 SYSGO Real-Time Solutions GmbH | ||
* Copyright © 2002 SYSGO Real-Time Solutions GmbH | ||
* Copyright © 2002-2010 David Woodhouse <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
* The format for the command line is as follows: | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
The initial developer of the original code is David A. Hinds | ||
<[email protected]>. Portions created by David A. Hinds | ||
are Copyright (C) 1999 David A. Hinds. All Rights Reserved. | ||
are Copyright © 1999 David A. Hinds. All Rights Reserved. | ||
Alternatively, the contents of this file may be used under the | ||
terms of the GNU General Public License version 2 (the "GPL"), in | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
/* | ||
* inftlcore.c -- Linux driver for Inverse Flash Translation Layer (INFTL) | ||
* | ||
* (C) Copyright 2002, Greg Ungerer ([email protected]) | ||
* Copyright © 2002, Greg Ungerer ([email protected]) | ||
* | ||
* Based heavily on the nftlcore.c code which is: | ||
* (c) 1999 Machine Vision Holdings, Inc. | ||
* Author: David Woodhouse <[email protected]> | ||
* Copyright © 1999 Machine Vision Holdings, Inc. | ||
* Copyright © 1999 David Woodhouse <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,11 @@ | |
* inftlmount.c -- INFTL mount code with extensive checks. | ||
* | ||
* Author: Greg Ungerer ([email protected]) | ||
* (C) Copyright 2002-2003, Greg Ungerer ([email protected]) | ||
* Copyright © 2002-2003, Greg Ungerer ([email protected]) | ||
* | ||
* Based heavily on the nftlmount.c code which is: | ||
* Author: Fabrice Bellard ([email protected]) | ||
* Copyright (C) 2000 Netgem S.A. | ||
* Copyright © 2000 Netgem S.A. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
/* | ||
* (C) 2003 David Woodhouse <[email protected]> | ||
* Interface to Linux block layer for MTD 'translation layers'. | ||
* | ||
* Interface to Linux 2.5 block layer for MTD 'translation layers'. | ||
* Copyright © 2003-2010 David Woodhouse <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,23 @@ | ||
/* | ||
* Direct MTD block device access | ||
* | ||
* (C) 2000-2003 Nicolas Pitre <[email protected]> | ||
* (C) 1999-2003 David Woodhouse <[email protected]> | ||
* Copyright © 1999-2010 David Woodhouse <[email protected]> | ||
* Copyright © 2000-2003 Nicolas Pitre <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
*/ | ||
|
||
#include <linux/fs.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,22 @@ | ||
/* | ||
* (C) 2003 David Woodhouse <[email protected]> | ||
* | ||
* Simple read-only (writable only for RAM) mtdblock driver | ||
* | ||
* Copyright © 2001-2010 David Woodhouse <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
*/ | ||
|
||
#include <linux/init.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,19 @@ | ||
/* | ||
* Character-device access to raw MTD devices. | ||
* Copyright © 1999-2010 David Woodhouse <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,25 @@ | ||
/* | ||
* MTD device concatenation layer | ||
* | ||
* (C) 2002 Robert Kaiser <[email protected]> | ||
* Copyright © 2002 Robert Kaiser <[email protected]> | ||
* Copyright © 2002-2010 David Woodhouse <[email protected]> | ||
* | ||
* NAND support by Christian Gan <[email protected]> | ||
* | ||
* This code is GPL | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
*/ | ||
|
||
#include <linux/kernel.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,23 @@ | |
* Core registration and callback routines for MTD | ||
* drivers and users. | ||
* | ||
* bdi bits are: | ||
* Copyright © 2006 Red Hat, Inc. All Rights Reserved. | ||
* Written by David Howells ([email protected]) | ||
* Copyright © 1999-2010 David Woodhouse <[email protected]> | ||
* Copyright © 2006 Red Hat UK Limited | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
*/ | ||
|
||
#include <linux/module.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
* MTD Oops/Panic logger | ||
* | ||
* Copyright (C) 2007 Nokia Corporation. All rights reserved. | ||
* Copyright © 2007 Nokia Corporation. All rights reserved. | ||
* | ||
* Author: Richard Purdie <[email protected]> | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,24 @@ | ||
/* | ||
* Simple MTD partitioning layer | ||
* | ||
* (C) 2000 Nicolas Pitre <[email protected]> | ||
* Copyright © 2000 Nicolas Pitre <[email protected]> | ||
* Copyright © 2002 Thomas Gleixner <[email protected]> | ||
* Copyright © 2000-2010 David Woodhouse <[email protected]> | ||
* | ||
* This code is GPL | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
* 02-21-2002 Thomas Gleixner <[email protected]> | ||
* added support for read_oob, write_oob | ||
*/ | ||
|
||
#include <linux/module.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
/* MTD-based superblock management | ||
* | ||
* Copyright © 2001-2007 Red Hat, Inc. All Rights Reserved. | ||
* Copyright © 2001-2010 David Woodhouse <[email protected]> | ||
* | ||
* Written by: David Howells <[email protected]> | ||
* David Woodhouse <[email protected]> | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
/* Linux driver for NAND Flash Translation Layer */ | ||
/* (c) 1999 Machine Vision Holdings, Inc. */ | ||
/* Author: David Woodhouse <[email protected]> */ | ||
|
||
/* | ||
The contents of this file are distributed under the GNU General | ||
Public License version 2. The author places no additional | ||
restrictions of any kind on it. | ||
* Linux driver for NAND Flash Translation Layer | ||
* | ||
* Copyright © 1999 Machine Vision Holdings, Inc. | ||
* Copyright © 1999-2010 David Woodhouse <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
#define PRERELEASE | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,8 @@ | |
* NFTL mount code with extensive checks | ||
* | ||
* Author: Fabrice Bellard ([email protected]) | ||
* Copyright (C) 2000 Netgem S.A. | ||
* Copyright © 2000 Netgem S.A. | ||
* Copyright © 1999-2010 David Woodhouse <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
/* | ||
* Flash partitions described by the OF (or flattened) device tree | ||
* | ||
* Copyright (C) 2006 MontaVista Software Inc. | ||
* Copyright © 2006 MontaVista Software Inc. | ||
* Author: Vitaly Wool <[email protected]> | ||
* | ||
* Revised to handle newer style flash binding by: | ||
* Copyright (C) 2007 David Gibson, IBM Corporation. | ||
* Copyright © 2007 David Gibson, IBM Corporation. | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,24 @@ | ||
/* | ||
* Parse RedBoot-style Flash Image System (FIS) tables and | ||
* produce a Linux partition array to match. | ||
* | ||
* Copyright © 2001 Red Hat UK Limited | ||
* Copyright © 2001-2010 David Woodhouse <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
*/ | ||
|
||
#include <linux/kernel.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
* rfd_ftl.c -- resident flash disk (flash translation layer) | ||
* | ||
* Copyright (C) 2005 Sean Young <[email protected]> | ||
* Copyright © 2005 Sean Young <[email protected]> | ||
* | ||
* This type of flash translation layer (FTL) is used by the Embedded BIOS | ||
* by General Software. It is known as the Resident Flash Disk (RFD), see: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* Linux driver for SSFDC Flash Translation Layer (Read only) | ||
* (c) 2005 Eptar srl | ||
* © 2005 Eptar srl | ||
* Author: Claudio Lanconelli <[email protected]> | ||
* | ||
* Based on NTFL and MTDBLOCK_RO drivers | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,26 @@ | |
* NAND family Bad Block Management (BBM) header file | ||
* - Bad Block Table (BBT) implementation | ||
* | ||
* Copyright (c) 2005 Samsung Electronics | ||
* Copyright © 2005 Samsung Electronics | ||
* Kyungmin Park <[email protected]> | ||
* | ||
* Copyright (c) 2000-2005 | ||
* Copyright © 2000-2005 | ||
* Thomas Gleixner <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
*/ | ||
#ifndef __LINUX_MTD_BBM_H | ||
#define __LINUX_MTD_BBM_H | ||
|
Oops, something went wrong.