diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-09-16 12:38:26 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-09-16 12:38:26 +0000 |
commit | 9542318312ceb4fd93f50fa58a708643befeefc2 (patch) | |
tree | 9123d8a8f724eda135eb75cf50b990329c8fc174 /src/flash/flash.c | |
parent | 6d2473b65b00c1bc17e74381b5ecefdc0fc26bd4 (diff) | |
download | openocd_libswd-9542318312ceb4fd93f50fa58a708643befeefc2.tar.gz openocd_libswd-9542318312ceb4fd93f50fa58a708643befeefc2.tar.bz2 openocd_libswd-9542318312ceb4fd93f50fa58a708643befeefc2.tar.xz openocd_libswd-9542318312ceb4fd93f50fa58a708643befeefc2.zip |
Rolf Meeser <rolfm_9dq@yahoo.de> adds flash support for NXP's LPC2900 family (ARM968E).
git-svn-id: svn://svn.berlios.de/openocd/trunk@2715 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/flash.c')
-rw-r--r-- | src/flash/flash.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c index ce1dc4fe..e73dfa70 100644 --- a/src/flash/flash.c +++ b/src/flash/flash.c @@ -47,6 +47,8 @@ static int handle_flash_protect_command(struct command_context_s *cmd_ctx, char /* flash drivers */ extern flash_driver_t lpc2000_flash; +extern flash_driver_t lpc288x_flash; +extern flash_driver_t lpc2900_flash; extern flash_driver_t cfi_flash; extern flash_driver_t at91sam3_flash; extern flash_driver_t at91sam7_flash; @@ -58,13 +60,14 @@ extern flash_driver_t str9xpec_flash; extern flash_driver_t stm32x_flash; extern flash_driver_t tms470_flash; extern flash_driver_t ecosflash_flash; -extern flash_driver_t lpc288x_flash; extern flash_driver_t ocl_flash; extern flash_driver_t pic32mx_flash; extern flash_driver_t avr_flash; flash_driver_t *flash_drivers[] = { &lpc2000_flash, + &lpc288x_flash, + &lpc2900_flash, &cfi_flash, &at91sam7_flash, &at91sam3_flash, @@ -76,7 +79,6 @@ flash_driver_t *flash_drivers[] = { &stm32x_flash, &tms470_flash, &ecosflash_flash, - &lpc288x_flash, &ocl_flash, &pic32mx_flash, &avr_flash, |