- 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
This commit is contained in:
drath 2008-01-17 07:21:09 +00:00
parent 3041bb26ed
commit f53b986559
2 changed files with 4 additions and 2 deletions

View 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

View 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,
};