]> git.sur5r.net Git - openocd/commitdiff
flash/nor/stm32f2x: add new revisions of STM32F4x parts
authorPaul Fertser <fercerpav@gmail.com>
Fri, 23 Jan 2015 18:36:50 +0000 (21:36 +0300)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 4 Feb 2015 21:56:23 +0000 (21:56 +0000)
Change-Id: I7585ccbe12fe079e960ce9e33d9a143672a6a08c
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2493
Tested-by: jenkins
Reviewed-by: RĂ©mi PRUD'HOMME <prudhomme.remi@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nor/stm32f2x.c

index 018156eaddcfac0ad50d4aec803f84a00f69c6d7..8dea951f2daecba7ac1aa1beb2f1b3d22de276ad 100644 (file)
@@ -928,6 +928,14 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size)
                case 0x1003:
                        rev_str = "Y";
                        break;
+
+               case 0x1007:
+                       rev_str = "1";
+                       break;
+
+               case 0x2001:
+                       rev_str = "3";
+                       break;
                }
                break;
        case 0x421: