This is an automated email from Gerrit.

Freddie Chopin ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/1351

-- gerrit

commit ceb750cc7cf0287cabc1337d65db448027746f68
Author: Freddie Chopin <[email protected]>
Date:   Sat Apr 20 10:39:51 2013 +0200

    Add "lpc1800" alias for "lpc4300" flash driver
    
    Change-Id: I6d2bb9105cc778bd1d21580022529d684c3b21b0
    Signed-off-by: Freddie Chopin <[email protected]>

diff --git a/jimtcl b/jimtcl
index 43d0866..2c1eba9 160000
--- a/jimtcl
+++ b/jimtcl
@@ -1 +1 @@
-Subproject commit 43d0866133a899532fb459a35860060add504923
+Subproject commit 2c1eba991e21a6f0b531fb0f83e21f9e6ee7c515
diff --git a/src/flash/nor/lpc2000.c b/src/flash/nor/lpc2000.c
index d7e316b..dd01e30 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;

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to