summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;