aboutsummaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-30 22:25:09 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-30 22:25:09 +0000
commit3eb441bbcc86deb427a50bb0b598609063971b72 (patch)
tree7a23804dcad9f741b09a01cfc1b37ad9c4d7896b /src/flash
parent7d3706c9804885d4922cec51d26286dc283d6d4f (diff)
downloadriscv-openocd-3eb441bbcc86deb427a50bb0b598609063971b72.zip
riscv-openocd-3eb441bbcc86deb427a50bb0b598609063971b72.tar.gz
riscv-openocd-3eb441bbcc86deb427a50bb0b598609063971b72.tar.bz2
Remove at91sam3.h from flash.c; use extern like other drivers.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2438 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c
index 403aabf..45cfb40 100644
--- a/src/flash/flash.c
+++ b/src/flash/flash.c
@@ -30,7 +30,6 @@
#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);
@@ -49,6 +48,7 @@ static int handle_flash_protect_command(struct command_context_s *cmd_ctx, char
*/
extern flash_driver_t lpc2000_flash;
extern flash_driver_t cfi_flash;
+extern flash_driver_t at91sam3_flash;
extern flash_driver_t at91sam7_flash;
extern flash_driver_t str7x_flash;
extern flash_driver_t str9x_flash;