summaryrefslogtreecommitdiff
path: root/src/flash/lpc2000.c
diff options
context:
space:
mode:
authordrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2007-01-31 10:59:20 +0000
committerdrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2007-01-31 10:59:20 +0000
commit4102c784321e68d8d82174148a51d4bcd8f14c82 (patch)
tree0692fbb5a3755271d5eae54da1b0b94c0e9eabbf /src/flash/lpc2000.c
parentc7383a8bea5743ee05928c35eb7c35fd3094b225 (diff)
downloadopenocd+libswd-4102c784321e68d8d82174148a51d4bcd8f14c82.tar.gz
openocd+libswd-4102c784321e68d8d82174148a51d4bcd8f14c82.tar.bz2
openocd+libswd-4102c784321e68d8d82174148a51d4bcd8f14c82.tar.xz
openocd+libswd-4102c784321e68d8d82174148a51d4bcd8f14c82.zip
- merged several changes from XScale
- complain about identify_chain scan with all bits one (jtag communication problem) - add 0x80000 as a valid size for lpc2000_v2 flash banks (previously only the user accessible 0x7d000 were valid) git-svn-id: svn://svn.berlios.de/openocd/trunk@129 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/lpc2000.c')
-rw-r--r--src/flash/lpc2000.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/flash/lpc2000.c b/src/flash/lpc2000.c
index 16e20e2a..f35c0ba0 100644
--- a/src/flash/lpc2000.c
+++ b/src/flash/lpc2000.c
@@ -47,6 +47,8 @@
* - 213x
* - 214x
* - 2101|2|3
+ * - 2364|6|8
+ * - 2378
*/
int lpc2000_register_commands(struct command_context_s *cmd_ctx);
@@ -171,6 +173,7 @@ int lpc2000_build_sector_list(struct flash_bank_s *bank)
case 256 * 1024:
num_sectors = 15;
break;
+ case 512 * 1024:
case 500 * 1024:
num_sectors = 27;
break;