]> git.sur5r.net Git - openocd/commitdiff
add STM32F2 revY
authorSimonQian <SimonQian@SimonQian.com>
Sun, 24 Apr 2011 15:35:27 +0000 (23:35 +0800)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 26 Apr 2011 10:05:07 +0000 (12:05 +0200)
src/flash/nor/stm32f2xxx.c

index cc5bddbf3ab1a2d09b92c39a2fca82b1863c21cf..df50e84b0b1c2e685b6e242e18484cee80e4c486 100644 (file)
@@ -659,6 +659,10 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size)
                                snprintf(buf, buf_size, "Z");
                                break;
 
+                       case 0x2001:
+                               snprintf(buf, buf_size, "Y");
+                               break;
+
                        default:
                                snprintf(buf, buf_size, "unknown");
                                break;