]> git.sur5r.net Git - openocd/commitdiff
stm32f2x: Detect STM32F42x rev Y
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 5 Oct 2013 20:43:34 +0000 (22:43 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 7 Oct 2013 19:25:36 +0000 (19:25 +0000)
Change-Id: Iaf94f6dda0686cce56be77431bbb961bfd5e8d14
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1688
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nor/stm32f2x.c

index 91baec4b86620676a454991da9c02cde44410644..de11b377572119d24630b2f622361b8a832fa81f 100644 (file)
@@ -914,6 +914,10 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size)
                case 0x1001:
                        rev_str = "Z";
                        break;
+
+               case 0x1003:
+                       rev_str = "Y";
+                       break;
                }
                break;