Add support for ATMEL AT91SAM3U - CortexM3 Family
git-svn-id: svn://svn.berlios.de/openocd/trunk@2383 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -11,6 +11,7 @@ libflash_la_SOURCES = \
|
||||
cfi.c \
|
||||
non_cfi.c \
|
||||
at91sam7.c \
|
||||
at91sam3.c \
|
||||
davinci_nand.c \
|
||||
str7x.c \
|
||||
str9x.c \
|
||||
@@ -42,6 +43,7 @@ noinst_HEADERS = \
|
||||
cfi.h \
|
||||
non_cfi.h \
|
||||
at91sam7.h \
|
||||
at91sam3.h \
|
||||
str7x.h \
|
||||
str9x.h \
|
||||
nand.h \
|
||||
|
||||
2494
src/flash/at91sam3.c
Executable file
2494
src/flash/at91sam3.c
Executable file
File diff suppressed because it is too large
Load Diff
23
src/flash/at91sam3.h
Executable file
23
src/flash/at91sam3.h
Executable file
@@ -0,0 +1,23 @@
|
||||
/***************************************************************************
|
||||
* 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 flash_driver_t at91sam3_flash;
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "flash.h"
|
||||
#include "image.h"
|
||||
#include "time_support.h"
|
||||
#include "at91sam3.h"
|
||||
|
||||
/* command handlers */
|
||||
static int handle_flash_bank_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
|
||||
@@ -66,6 +67,7 @@ flash_driver_t *flash_drivers[] = {
|
||||
&lpc2000_flash,
|
||||
&cfi_flash,
|
||||
&at91sam7_flash,
|
||||
&at91sam3_flash,
|
||||
&str7x_flash,
|
||||
&str9x_flash,
|
||||
&aduc702x_flash,
|
||||
|
||||
Reference in New Issue
Block a user