summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-28 18:09:33 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-28 18:09:33 +0000
commitc98ec4cc36d3b37e826cc693a6482db4265da181 (patch)
tree1b4278bdc3efca20704c811c9693a54ff0e99c58
parentfc925b637da9f692ec79595a0f19b24f63205f22 (diff)
downloadopenocd_libswd-c98ec4cc36d3b37e826cc693a6482db4265da181.tar.gz
openocd_libswd-c98ec4cc36d3b37e826cc693a6482db4265da181.tar.bz2
openocd_libswd-c98ec4cc36d3b37e826cc693a6482db4265da181.tar.xz
openocd_libswd-c98ec4cc36d3b37e826cc693a6482db4265da181.zip
changed to eCos license.
git-svn-id: svn://svn.berlios.de/openocd/trunk@383 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--ecosflash/Makefile49
-rw-r--r--ecosflash/flash.S51
-rw-r--r--ecosflash/flash.c50
-rw-r--r--ecosflash/notes.txt7
4 files changed, 100 insertions, 57 deletions
diff --git a/ecosflash/Makefile b/ecosflash/Makefile
index b1f7ef98..ba0b0501 100644
--- a/ecosflash/Makefile
+++ b/ecosflash/Makefile
@@ -1,22 +1,33 @@
-#*************************************************************************
-#* Copyright (C) 2008 Øyvind Harboe #*
-#* oyvind.harboe@zylin.com #*
-#* #*
-#* 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. #*
-#***************************************************************************
+#####ECOSGPLCOPYRIGHTBEGIN####
+## -------------------------------------------
+## This file is part of eCos, the Embedded Configurable Operating System.
+## Copyright (C) 2008 Øyvind Harboe
+##
+## eCos 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 or (at your option) any later version.
+##
+## eCos 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 eCos; if not, write to the Free Software Foundation, Inc.,
+## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+##
+## As a special exception, if other files instantiate templates or use macros
+## or inline functions from this file, or you compile this file and link it
+## with other works to produce a work based on this file, this file does not
+## by itself cause the resulting work to be covered by the GNU General Public
+## License. However the source code for this file must still be made available
+## in accordance with section (3) of the GNU General Public License.
+##
+## This exception does not invalidate any other reasons why a work based on
+## this file might be covered by the GNU General Public License.
+## -------------------------------------------
+#####ECOSGPLCOPYRIGHTEND####
+
# Create OpenOCD eCos flash driver
# Syntax: make INSTALL_DIR=ecosinstalldir OUTPUT=outputname
diff --git a/ecosflash/flash.S b/ecosflash/flash.S
index 3d4841c4..677ab3d5 100644
--- a/ecosflash/flash.S
+++ b/ecosflash/flash.S
@@ -1,22 +1,35 @@
-/***************************************************************************
- * Copyright (C) 2008 Øyvind Harboe *
- * oyvind.harboe@zylin.com *
- * *
- * 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. *
- ***************************************************************************/
+/*
+#####ECOSGPLCOPYRIGHTBEGIN####
+## -------------------------------------------
+## This file is part of eCos, the Embedded Configurable Operating System.
+## Copyright (C) 2008 Øyvind Harboe
+##
+## eCos 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 or (at your option) any later version.
+##
+## eCos 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 eCos; if not, write to the Free Software Foundation, Inc.,
+## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+##
+## As a special exception, if other files instantiate templates or use macros
+## or inline functions from this file, or you compile this file and link it
+## with other works to produce a work based on this file, this file does not
+## by itself cause the resulting work to be covered by the GNU General Public
+## License. However the source code for this file must still be made available
+## in accordance with section (3) of the GNU General Public License.
+##
+## This exception does not invalidate any other reasons why a work based on
+## this file might be covered by the GNU General Public License.
+## -------------------------------------------
+#####ECOSGPLCOPYRIGHTEND####
+*/
+
/*
Jump table for flash driver
diff --git a/ecosflash/flash.c b/ecosflash/flash.c
index 0bbda7bc..0eca9582 100644
--- a/ecosflash/flash.c
+++ b/ecosflash/flash.c
@@ -1,22 +1,34 @@
-/***************************************************************************
- * Copyright (C) 2008 Øyvind Harboe *
- * oyvind.harboe@zylin.com *
- * *
- * 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. *
- ***************************************************************************/
+/*
+#####ECOSGPLCOPYRIGHTBEGIN####
+## -------------------------------------------
+## This file is part of eCos, the Embedded Configurable Operating System.
+## Copyright (C) 2008 Øyvind Harboe
+##
+## eCos 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 or (at your option) any later version.
+##
+## eCos 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 eCos; if not, write to the Free Software Foundation, Inc.,
+## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+##
+## As a special exception, if other files instantiate templates or use macros
+## or inline functions from this file, or you compile this file and link it
+## with other works to produce a work based on this file, this file does not
+## by itself cause the resulting work to be covered by the GNU General Public
+## License. However the source code for this file must still be made available
+## in accordance with section (3) of the GNU General Public License.
+##
+## This exception does not invalidate any other reasons why a work based on
+## this file might be covered by the GNU General Public License.
+## -------------------------------------------
+#####ECOSGPLCOPYRIGHTEND####
+*/
#include <string.h>
#define _FLASH_PRIVATE_
diff --git a/ecosflash/notes.txt b/ecosflash/notes.txt
index dabe7d5d..55f17297 100644
--- a/ecosflash/notes.txt
+++ b/ecosflash/notes.txt
@@ -1,3 +1,10 @@
+Some of these binaries are build & linked using eCos.
+
+For source for the flash drivers, see:
+
+http://ecos.sourceware.org/
+
+
1. GDB startup script for debugging purposes.
# startup script for debugging flash erase