summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-11-17 10:25:55 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-11-17 08:55:35 +0100
commitd213e1a12ca9b719c055c07239a2104f00240d56 (patch)
tree4480762955af316c3a4a6cda4b971a9afdea3711 /src
parentc5414f95b6435231fb3dc5266ddd0b54c95c155e (diff)
downloadopenocd_libswd-d213e1a12ca9b719c055c07239a2104f00240d56.tar.gz
openocd_libswd-d213e1a12ca9b719c055c07239a2104f00240d56.tar.bz2
openocd_libswd-d213e1a12ca9b719c055c07239a2104f00240d56.tar.xz
openocd_libswd-d213e1a12ca9b719c055c07239a2104f00240d56.zip
FLASH/NOR: Remove useless file at91sam3.h
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/flash/nor/Makefile.am1
-rw-r--r--src/flash/nor/at91sam3.c3
-rw-r--r--src/flash/nor/at91sam3.h23
3 files changed, 2 insertions, 25 deletions
diff --git a/src/flash/nor/Makefile.am b/src/flash/nor/Makefile.am
index 97a24335..242fb791 100644
--- a/src/flash/nor/Makefile.am
+++ b/src/flash/nor/Makefile.am
@@ -34,7 +34,6 @@ NOR_DRIVERS = \
noinst_HEADERS = \
at91sam7.h \
- at91sam3.h \
avrf.h \
core.h \
cfi.h \
diff --git a/src/flash/nor/at91sam3.c b/src/flash/nor/at91sam3.c
index 8005fe0a..8b922f3a 100644
--- a/src/flash/nor/at91sam3.c
+++ b/src/flash/nor/at91sam3.c
@@ -62,7 +62,6 @@
#include "imp.h"
-#include "at91sam3.h"
#include <helper/time_support.h>
#define REG_NAME_WIDTH (12)
@@ -99,6 +98,8 @@
#define offset_EFC_FRR 12
+struct flash_driver at91sam3_flash;
+
static float
_tomhz(uint32_t freq_hz)
{
diff --git a/src/flash/nor/at91sam3.h b/src/flash/nor/at91sam3.h
deleted file mode 100644
index 4fa7f467..00000000
--- a/src/flash/nor/at91sam3.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2009 by Duane Ellis *
- * openocd@duaneellis.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. *
- ***************************************************************************/
-
-
-// nothing to do here other then export this.
-extern struct flash_driver at91sam3_flash;