]> git.sur5r.net Git - openocd/commitdiff
FLASH/NOR: Remove useless file at91sam3.h
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 17 Nov 2010 02:25:55 +0000 (10:25 +0800)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 17 Nov 2010 07:55:35 +0000 (08:55 +0100)
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/flash/nor/Makefile.am
src/flash/nor/at91sam3.c
src/flash/nor/at91sam3.h [deleted file]

index 97a24335c1c73e841e72d180c389a17a1e1f261e..242fb791548ac62af84fefb423f15ca111478406 100644 (file)
@@ -34,7 +34,6 @@ NOR_DRIVERS = \
 
 noinst_HEADERS = \
        at91sam7.h \
-       at91sam3.h \
        avrf.h \
        core.h \
        cfi.h \
index 8005fe0a076496fed4994f5dbfdac0081d806c6d..8b922f3a7bee5c6013aee8385fe7024539c1c005 100644 (file)
@@ -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 (file)
index 4fa7f46..0000000
+++ /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;