diff options
author | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-01-17 07:21:09 +0000 |
---|---|---|
committer | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-01-17 07:21:09 +0000 |
commit | f53b986559a33796510552de71de5d15dc9c9f64 (patch) | |
tree | 21f8421cfa549d6718e08142dd719fe785265b86 /src/flash | |
parent | 3041bb26edc88320ce9bb0fc000ea5c2e1e66ebf (diff) | |
download | openocd+libswd-f53b986559a33796510552de71de5d15dc9c9f64.tar.gz openocd+libswd-f53b986559a33796510552de71de5d15dc9c9f64.tar.bz2 openocd+libswd-f53b986559a33796510552de71de5d15dc9c9f64.tar.xz openocd+libswd-f53b986559a33796510552de71de5d15dc9c9f64.zip |
- added tms470 flash support (thanks to Chris Kilgour for this patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@256 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/Makefile.am | 4 | ||||
-rw-r--r-- | src/flash/flash.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/flash/Makefile.am b/src/flash/Makefile.am index d750b86b..37dee8b5 100644 --- a/src/flash/Makefile.am +++ b/src/flash/Makefile.am @@ -3,6 +3,6 @@ AM_CPPFLAGS = -DPKGLIBDIR=\"$(pkglibdir)\" @CPPFLAGS@ METASOURCES = AUTO noinst_LIBRARIES = libflash.a libflash_a_SOURCES = flash.c lpc2000.c cfi.c non_cfi.c at91sam7.c str7x.c str9x.c nand.c lpc3180_nand_controller.c \ - stellaris.c str9xpec.c stm32x.c + stellaris.c str9xpec.c stm32x.c tms470.c noinst_HEADERS = flash.h lpc2000.h cfi.h non_cfi.h at91sam7.h str7x.h str9x.h nand.h lpc3180_nand_controller.h \ - stellaris.h str9xpec.h stm32x.h + stellaris.h str9xpec.h stm32x.h tms470.h diff --git a/src/flash/flash.c b/src/flash/flash.c index 7336bbd7..925a1125 100644 --- a/src/flash/flash.c +++ b/src/flash/flash.c @@ -63,6 +63,7 @@ extern flash_driver_t str9x_flash; extern flash_driver_t stellaris_flash; extern flash_driver_t str9xpec_flash; extern flash_driver_t stm32x_flash; +extern flash_driver_t tms470_flash; flash_driver_t *flash_drivers[] = { @@ -74,6 +75,7 @@ flash_driver_t *flash_drivers[] = &stellaris_flash, &str9xpec_flash, &stm32x_flash, + &tms470_flash, NULL, }; |