lpc2000: add chip IDs for LPC11U6x/LPC11E6x

Change-Id: I53568674951ec8a5db5e191c7b50c60b5a84d0b6
Signed-off-by: Michael Brown <fractalmbrown@gmail.com>
Reviewed-on: http://openocd.zylin.com/2463
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
This commit is contained in:
Michael Brown 2015-01-15 10:35:21 -05:00 committed by Paul Fertser
parent 1d7176f50b
commit 34f3e84d69
1 changed files with 22 additions and 0 deletions

View File

@ -183,6 +183,16 @@
#define LPC11U37H_401 0x00007C44 #define LPC11U37H_401 0x00007C44
#define LPC11U37_501 0x00007C40 #define LPC11U37_501 0x00007C40
#define LPC11E66 0x0000DCC1
#define LPC11E67 0x0000BC81
#define LPC11E68 0x00007C01
#define LPC11U66 0x0000DCC8
#define LPC11U67_1 0x0000BC88
#define LPC11U67_2 0x0000BC80
#define LPC11U68_1 0x00007C08
#define LPC11U68_2 0x00007C00
#define LPC1311 0x2C42502B #define LPC1311 0x2C42502B
#define LPC1311_1 0x1816902B #define LPC1311_1 0x1816902B
#define LPC1313 0x2C40102B #define LPC1313 0x2C40102B
@ -1350,6 +1360,8 @@ static int lpc2000_auto_probe_flash(struct flash_bank *bank)
case LPC1115_303_1: case LPC1115_303_1:
case LPC11U35_401: case LPC11U35_401:
case LPC11U35_501: case LPC11U35_501:
case LPC11E66:
case LPC11U66:
case LPC1317: case LPC1317:
case LPC1347: case LPC1347:
lpc2000_info->variant = lpc1100; lpc2000_info->variant = lpc1100;
@ -1372,6 +1384,10 @@ static int lpc2000_auto_probe_flash(struct flash_bank *bank)
case LPC11U37_401: case LPC11U37_401:
case LPC11U37H_401: case LPC11U37H_401:
case LPC11U37_501: case LPC11U37_501:
case LPC11E67:
case LPC11E68:
case LPC11U67_1:
case LPC11U67_2:
lpc2000_info->variant = lpc1100; lpc2000_info->variant = lpc1100;
bank->size = 128 * 1024; bank->size = 128 * 1024;
break; break;
@ -1383,6 +1399,12 @@ static int lpc2000_auto_probe_flash(struct flash_bank *bank)
bank->size = 128 * 1024; bank->size = 128 * 1024;
break; break;
case LPC11U68_1:
case LPC11U68_2:
lpc2000_info->variant = lpc1100;
bank->size = 256 * 1024;
break;
case LPC1756: case LPC1756:
case LPC1763: case LPC1763:
case LPC1765: case LPC1765: