From: Paul Fertser Date: Fri, 23 Jan 2015 18:36:50 +0000 (+0300) Subject: flash/nor/stm32f2x: add new revisions of STM32F4x parts X-Git-Tag: v0.9.0-rc1~164 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=35de943d350bf90b8770f181575847937714cb27;p=openocd flash/nor/stm32f2x: add new revisions of STM32F4x parts Change-Id: I7585ccbe12fe079e960ce9e33d9a143672a6a08c Signed-off-by: Paul Fertser Reviewed-on: http://openocd.zylin.com/2493 Tested-by: jenkins Reviewed-by: RĂ©mi PRUD'HOMME Reviewed-by: Spencer Oliver --- diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c index 018156ea..8dea951f 100644 --- a/src/flash/nor/stm32f2x.c +++ b/src/flash/nor/stm32f2x.c @@ -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: