]> git.sur5r.net Git - openocd/commitdiff
- added tms470 flash support (thanks to Chris Kilgour for this patch)
authordrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 17 Jan 2008 07:21:09 +0000 (07:21 +0000)
committerdrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 17 Jan 2008 07:21:09 +0000 (07:21 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@256 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/flash/Makefile.am
src/flash/flash.c

index d750b86b0ad3c8d49060606f664b54fb4c1f5456..37dee8b539fa3699ad64ac0be7c8d717c2c040cf 100644 (file)
@@ -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
index 7336bbd79c474e700782e0c955c8f922d9cc52e5..925a11258f2d6ea41543efbabac769e2fc321ecd 100644 (file)
@@ -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,
 };