From: Michael Brown Date: Thu, 15 Jan 2015 15:35:21 +0000 (-0500) Subject: lpc2000: add chip IDs for LPC11U6x/LPC11E6x X-Git-Tag: v0.9.0-rc1~155 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=34f3e84d690d6466267872d434f291756c3a685d;p=openocd lpc2000: add chip IDs for LPC11U6x/LPC11E6x Change-Id: I53568674951ec8a5db5e191c7b50c60b5a84d0b6 Signed-off-by: Michael Brown Reviewed-on: http://openocd.zylin.com/2463 Tested-by: jenkins Reviewed-by: Paul Fertser --- diff --git a/src/flash/nor/lpc2000.c b/src/flash/nor/lpc2000.c index a7f8e832..0b063d30 100644 --- a/src/flash/nor/lpc2000.c +++ b/src/flash/nor/lpc2000.c @@ -183,6 +183,16 @@ #define LPC11U37H_401 0x00007C44 #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_1 0x1816902B #define LPC1313 0x2C40102B @@ -1350,6 +1360,8 @@ static int lpc2000_auto_probe_flash(struct flash_bank *bank) case LPC1115_303_1: case LPC11U35_401: case LPC11U35_501: + case LPC11E66: + case LPC11U66: case LPC1317: case LPC1347: lpc2000_info->variant = lpc1100; @@ -1372,6 +1384,10 @@ static int lpc2000_auto_probe_flash(struct flash_bank *bank) case LPC11U37_401: case LPC11U37H_401: case LPC11U37_501: + case LPC11E67: + case LPC11E68: + case LPC11U67_1: + case LPC11U67_2: lpc2000_info->variant = lpc1100; bank->size = 128 * 1024; break; @@ -1383,6 +1399,12 @@ static int lpc2000_auto_probe_flash(struct flash_bank *bank) bank->size = 128 * 1024; break; + case LPC11U68_1: + case LPC11U68_2: + lpc2000_info->variant = lpc1100; + bank->size = 256 * 1024; + break; + case LPC1756: case LPC1763: case LPC1765: