diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-29 12:37:45 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-29 12:37:45 +0000 |
commit | 6d3bed69dc023f49b51b6504d977463e722e9e9d (patch) | |
tree | 59031bcb6c1c40d895cbb3fb8b5598c7fda7f4b5 /src/flash | |
parent | 0d2b289048e603fd529cfceb82b589661946bea7 (diff) | |
download | riscv-openocd-6d3bed69dc023f49b51b6504d977463e722e9e9d.zip riscv-openocd-6d3bed69dc023f49b51b6504d977463e722e9e9d.tar.gz riscv-openocd-6d3bed69dc023f49b51b6504d977463e722e9e9d.tar.bz2 |
Uwe Hermann:
Small cosmetic fixes in the license header to make them all look the
same, fix some typos, update README.
git-svn-id: svn://svn.berlios.de/openocd/trunk@396 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/nand.c | 6 | ||||
-rw-r--r-- | src/flash/nand.h | 10 | ||||
-rw-r--r-- | src/flash/s3c2410_nand.c | 30 | ||||
-rw-r--r-- | src/flash/s3c2412_nand.c | 30 | ||||
-rw-r--r-- | src/flash/s3c2440_nand.c | 30 | ||||
-rw-r--r-- | src/flash/s3c2443_nand.c | 31 | ||||
-rw-r--r-- | src/flash/s3c24xx_nand.c | 30 | ||||
-rw-r--r-- | src/flash/s3c24xx_nand.h | 30 | ||||
-rw-r--r-- | src/flash/s3c24xx_regs_nand.h | 35 | ||||
-rw-r--r-- | src/flash/stellaris.c | 9 | ||||
-rw-r--r-- | src/flash/stellaris.h | 2 | ||||
-rw-r--r-- | src/flash/tms470.c | 3 | ||||
-rw-r--r-- | src/flash/tms470.h | 3 |
13 files changed, 160 insertions, 89 deletions
diff --git a/src/flash/nand.c b/src/flash/nand.c index d0e1d8d..f01b94c 100644 --- a/src/flash/nand.c +++ b/src/flash/nand.c @@ -2,10 +2,8 @@ * Copyright (C) 2007 by Dominic Rath * * Dominic.Rath@gmx.de * * * - * partially based on * - * drivers/mtd/nand_ids.c * - * * - * Copyright (C) 2002 Thomas Gleixner (tglx@linutronix.de) * + * Partially based on drivers/mtd/nand_ids.c from Linux. * + * Copyright (C) 2002 Thomas Gleixner <tglx@linutronix.de> * * * * 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 * diff --git a/src/flash/nand.h b/src/flash/nand.h index cb18b0c..d0dd757 100644 --- a/src/flash/nand.h +++ b/src/flash/nand.h @@ -2,12 +2,10 @@ * Copyright (C) 2007 by Dominic Rath * * Dominic.Rath@gmx.de * * * - * partially based on * - * linux/include/linux/mtd/nand.h * - * * - * Copyright (c) 2000 David Woodhouse <dwmw2@mvhi.com> * - * Steven J. Hill <sjhill@realitydiluted.com> * - * Thomas Gleixner <tglx@linutronix.de> * + * Partially based on linux/include/linux/mtd/nand.h * + * Copyright (C) 2000 David Woodhouse <dwmw2@mvhi.com> * + * Copyright (C) 2000 Steven J. Hill <sjhill@realitydiluted.com> * + * Copyright (C) 2000 Thomas Gleixner <tglx@linutronix.de> * * * * 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 * diff --git a/src/flash/s3c2410_nand.c b/src/flash/s3c2410_nand.c index 436eb15..352d384 100644 --- a/src/flash/s3c2410_nand.c +++ b/src/flash/s3c2410_nand.c @@ -1,14 +1,26 @@ -/* src/flash/s3c2410_nand.c - * +/*************************************************************************** + * Copyright (C) 2007, 2008 by Ben Dooks * + * ben@fluff.org * + * * + * 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. * + ***************************************************************************/ + +/* * S3C2410 OpenOCD NAND Flash controller support. * - * Copyright 2007,2008 Ben Dooks <ben@fluff.org> - * - * 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. - * * Many thanks to Simtec Electronics for sponsoring this work. */ diff --git a/src/flash/s3c2412_nand.c b/src/flash/s3c2412_nand.c index 1ddcff0..5d2b85c 100644 --- a/src/flash/s3c2412_nand.c +++ b/src/flash/s3c2412_nand.c @@ -1,14 +1,26 @@ -/* src/flash/s3c2412_nand.c - * +/*************************************************************************** + * Copyright (C) 2007, 2008 by Ben Dooks * + * ben@fluff.org * + * * + * 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. * + ***************************************************************************/ + +/* * S3C2412 OpenOCD NAND Flash controller support. * - * Copyright 2007,2008 Ben Dooks <ben@fluff.org> - * - * 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. - * * Many thanks to Simtec Electronics for sponsoring this work. */ diff --git a/src/flash/s3c2440_nand.c b/src/flash/s3c2440_nand.c index a6b9b04..dc64ad6 100644 --- a/src/flash/s3c2440_nand.c +++ b/src/flash/s3c2440_nand.c @@ -1,14 +1,26 @@ -/* src/flash/s3c2440_nand.c - * +/*************************************************************************** + * Copyright (C) 2007, 2008 by Ben Dooks * + * ben@fluff.org * + * * + * 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. * + ***************************************************************************/ + +/* * S3C2440 OpenOCD NAND Flash controller support. * - * Copyright 2007,2008 Ben Dooks <ben@fluff.org> - * - * 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. - * * Many thanks to Simtec Electronics for sponsoring this work. */ diff --git a/src/flash/s3c2443_nand.c b/src/flash/s3c2443_nand.c index a66f158..5b685c9 100644 --- a/src/flash/s3c2443_nand.c +++ b/src/flash/s3c2443_nand.c @@ -1,18 +1,29 @@ -/* src/flash/s3c2443_nand.c - * +/*************************************************************************** + * Copyright (C) 2007, 2008 by Ben Dooks * + * ben@fluff.org * + * * + * 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. * + ***************************************************************************/ + +/* * S3C2443 OpenOCD NAND Flash controller support. * - * Copyright 2007,2008 Ben Dooks <ben@fluff.org> - * - * 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. - * * Many thanks to Simtec Electronics for sponsoring this work. */ - #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/src/flash/s3c24xx_nand.c b/src/flash/s3c24xx_nand.c index 6bde224..21633c9 100644 --- a/src/flash/s3c24xx_nand.c +++ b/src/flash/s3c24xx_nand.c @@ -1,14 +1,26 @@ -/* src/flash/s3c24xx_nand.c - * +/*************************************************************************** + * Copyright (C) 2007, 2008 by Ben Dooks * + * ben@fluff.org * + * * + * 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. * + ***************************************************************************/ + +/* * S3C24XX Series OpenOCD NAND Flash controller support. * - * Copyright 2007,2008 Ben Dooks <ben@fluff.org> - * - * 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. - * * Many thanks to Simtec Electronics for sponsoring this work. */ diff --git a/src/flash/s3c24xx_nand.h b/src/flash/s3c24xx_nand.h index f419352..d77bafe 100644 --- a/src/flash/s3c24xx_nand.h +++ b/src/flash/s3c24xx_nand.h @@ -1,14 +1,26 @@ -/* src/flash/s3c24xx_nand.h - * +/*************************************************************************** + * Copyright (C) 2007, 2008 by Ben Dooks * + * ben@fluff.org * + * * + * 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. * + ***************************************************************************/ + +/* * S3C24XX Series OpenOCD NAND Flash controller support. * - * Copyright 2007,2008 Ben Dooks <ben@fluff.org> - * - * 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. - * * Many thanks to Simtec Electronics for sponsoring this work. */ diff --git a/src/flash/s3c24xx_regs_nand.h b/src/flash/s3c24xx_regs_nand.h index d742205..7d295d8 100644 --- a/src/flash/s3c24xx_regs_nand.h +++ b/src/flash/s3c24xx_regs_nand.h @@ -1,19 +1,30 @@ -/* linux/include/asm-arm/arch-s3c2410/regs-nand.h - * - * Copyright (c) 2004,2005 Simtec Electronics <linux@simtec.co.uk> - * http://www.simtec.co.uk/products/SWLINUX/ - * - * 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. - * +/*************************************************************************** + * Copyright (C) 2004, 2005 by Simtec Electronics * + * linux@simtec.co.uk * + * http://www.simtec.co.uk/products/SWLINUX/ * + * * + * 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; version 2 of the License. * + * * + * 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. * + ***************************************************************************/ + +/* * S3C2410 NAND register definitions -*/ + */ #ifndef __ASM_ARM_REGS_NAND #define __ASM_ARM_REGS_NAND "$Id: nand.h,v 1.3 2003/12/09 11:36:29 ben Exp $" - #define S3C2410_NFREG(x) (x) #define S3C2410_NFCONF S3C2410_NFREG(0x00) @@ -117,7 +128,5 @@ #define S3C2412_NFECCERR_MULTIBIT (2) #define S3C2412_NFECCERR_ECCAREA (3) - - #endif /* __ASM_ARM_REGS_NAND */ diff --git a/src/flash/stellaris.c b/src/flash/stellaris.c index dc9de74..2eca290 100644 --- a/src/flash/stellaris.c +++ b/src/flash/stellaris.c @@ -1,7 +1,7 @@ /*************************************************************************** * Copyright (C) 2006 by Magnus Lundin * - * lundin@mlu.mine.nu * - * * + * lundin@mlu.mine.nu * + * * * 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 * @@ -20,10 +20,7 @@ /*************************************************************************** * STELLARIS is tested on LM3S811 -* -* -* - ***************************************************************************/ +***************************************************************************/ #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/src/flash/stellaris.h b/src/flash/stellaris.h index 8024258..4ea1fe5 100644 --- a/src/flash/stellaris.h +++ b/src/flash/stellaris.h @@ -1,6 +1,6 @@ /*************************************************************************** * Copyright (C) 2006 by Magnus Lundin * - * lundinªmlu.mine.nu * + * lundin@mlu.mine.nu * * * * 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 * diff --git a/src/flash/tms470.c b/src/flash/tms470.c index 55adfd8..cfbb072 100644 --- a/src/flash/tms470.c +++ b/src/flash/tms470.c @@ -1,5 +1,5 @@ /*************************************************************************** - * (c) Copyright 2007, 2008 by Christopher Kilgour * + * Copyright (C) 2007,2008 by Christopher Kilgour * * techie |_at_| whiterocker |_dot_| com * * * * This program is free software; you can redistribute it and/or modify * @@ -17,7 +17,6 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ - #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/src/flash/tms470.h b/src/flash/tms470.h index ad5108d..ad569bb 100644 --- a/src/flash/tms470.h +++ b/src/flash/tms470.h @@ -1,5 +1,5 @@ /*************************************************************************** - * (c) Copyright 2007, 2008 by Christopher Kilgour * + * Copyright (C) 2007,2008 by Christopher Kilgour * * techie |_at_| whiterocker |_dot_| com * * * * This program is free software; you can redistribute it and/or modify * @@ -17,7 +17,6 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ - #ifndef TMS470_DOT_H #define TMS470_DOT_H |