From: drath Date: Thu, 17 Jan 2008 07:21:09 +0000 (+0000) Subject: - added tms470 flash support (thanks to Chris Kilgour for this patch) X-Git-Tag: v0.1.0~1028 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f53b986559a33796510552de71de5d15dc9c9f64;p=openocd - 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 --- 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, };