From: Rolf Meeser Date: Wed, 1 Dec 2010 07:22:29 +0000 (+0100) Subject: lpc2900.c: Add support for new device LPC2926 X-Git-Tag: v0.5.0-rc1~305 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=71031bcf7f279f232f818587f99468010461edf3;p=openocd lpc2900.c: Add support for new device LPC2926 --- diff --git a/src/flash/nor/lpc2900.c b/src/flash/nor/lpc2900.c index 99d6d1dc..590c393b 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"; }