diff options
author | Rolf Meeser <rolfm_9dq@yahoo.de> | 2010-12-01 08:22:29 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-12-01 08:47:57 +0100 |
commit | 71031bcf7f279f232f818587f99468010461edf3 (patch) | |
tree | 02a4245dcab4e391d9e6b8b2eade3b7422a3ff38 /src/flash/nor | |
parent | 1bd87f5dbab730a5fe048bb18a952e4ffe01d7ec (diff) | |
download | riscv-openocd-71031bcf7f279f232f818587f99468010461edf3.zip riscv-openocd-71031bcf7f279f232f818587f99468010461edf3.tar.gz riscv-openocd-71031bcf7f279f232f818587f99468010461edf3.tar.bz2 |
lpc2900.c: Add support for new device LPC2926
Diffstat (limited to 'src/flash/nor')
-rw-r--r-- | src/flash/nor/lpc2900.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/flash/nor/lpc2900.c b/src/flash/nor/lpc2900.c index 99d6d1d..590c393 100644 --- a/src/flash/nor/lpc2900.c +++ b/src/flash/nor/lpc2900.c @@ -1638,7 +1638,11 @@ static int lpc2900_probe(struct flash_bank *bank) else if ( package_code == 4 ) { /* 144-pin package */ - if ( (bank->size == 512*KiB) && (feat3 == 0xFFFFFCF0) ) + if ( (bank->size == 256*KiB) && (feat3 == 0xFFFFFFE9) ) + { + lpc2900_info->target_name = "LPC2926"; + } + else if ( (bank->size == 512*KiB) && (feat3 == 0xFFFFFCF0) ) { lpc2900_info->target_name = "LPC2917/01"; } |