diff options
author | Michael Brown <fractalmbrown@gmail.com> | 2015-01-15 10:35:21 -0500 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2015-02-11 15:08:47 +0000 |
commit | 34f3e84d690d6466267872d434f291756c3a685d (patch) | |
tree | 754c3cba0816b9ecb146c606a253faf8401469f6 | |
parent | 1d7176f50bc7d5971a82977ac2baa79eef521c21 (diff) | |
download | riscv-openocd-34f3e84d690d6466267872d434f291756c3a685d.zip riscv-openocd-34f3e84d690d6466267872d434f291756c3a685d.tar.gz riscv-openocd-34f3e84d690d6466267872d434f291756c3a685d.tar.bz2 |
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>
-rw-r--r-- | src/flash/nor/lpc2000.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/flash/nor/lpc2000.c b/src/flash/nor/lpc2000.c index a7f8e83..0b063d3 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: |