From d213e1a12ca9b719c055c07239a2104f00240d56 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Wed, 17 Nov 2010 10:25:55 +0800 Subject: FLASH/NOR: Remove useless file at91sam3.h Signed-off-by: Antonio Borneo --- src/flash/nor/Makefile.am | 1 - src/flash/nor/at91sam3.c | 3 ++- src/flash/nor/at91sam3.h | 23 ----------------------- 3 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 src/flash/nor/at91sam3.h (limited to 'src/flash/nor') 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 #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; -- cgit v1.2.3