aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFreddie Chopin <freddie.chopin@gmail.com>2013-04-20 10:39:51 +0200
committerFreddie Chopin <freddie.chopin@gmail.com>2013-04-21 07:30:41 +0000
commit4bfa4858d16bf27cfe1bc230ffb492aae1b5b65b (patch)
tree7fc2fb89ce2948821213a110d4c6f2e5ba1b8ad9 /src
parentad1c9cdbcbfeda8d5dc63fd168a8333ff9a594e2 (diff)
Add "lpc1800" alias for "lpc4300" flash driver
Change-Id: I6d2bb9105cc778bd1d21580022529d684c3b21b0 Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on: http://openocd.zylin.com/1351 Tested-by: jenkins
Diffstat (limited to 'src')
-rw-r--r--src/flash/nor/lpc2000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/lpc2000.c b/src/flash/nor/lpc2000.c
index d7e316bf..dd01e307 100644
--- a/src/flash/nor/lpc2000.c
+++ b/src/flash/nor/lpc2000.c
@@ -59,7 +59,7 @@
* - 175x
* - 176x (tested with LPC1768)
*
- * lpc4300:
+ * lpc4300 (also available as lpc1800 - alias)
* - 43x2 | 3 | 5 | 7 (tested with 4337)
* - 18x2 | 3 | 5 | 7
*/
@@ -533,7 +533,7 @@ FLASH_BANK_COMMAND_HANDLER(lpc2000_flash_bank_command)
lpc2000_info->cmd51_can_8192b = 0;
lpc2000_info->checksum_vector = 7;
lpc2000_info->iap_max_stack = 128;
- } else if (strcmp(CMD_ARGV[6], "lpc4300") == 0) {
+ } else if (strcmp(CMD_ARGV[6], "lpc1800") == 0 || strcmp(CMD_ARGV[6], "lpc4300") == 0) {
lpc2000_info->variant = lpc4300;
lpc2000_info->cmd51_dst_boundary = 512;
lpc2000_info->cmd51_can_256b = 0;