From: Andreas Fritiofson Date: Sat, 5 Oct 2013 20:43:34 +0000 (+0200) Subject: stm32f2x: Detect STM32F42x rev Y X-Git-Tag: v0.8.0-rc1~228 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bc7837007c0b1e2a194429a88e53dc23ec567be8;p=openocd stm32f2x: Detect STM32F42x rev Y Change-Id: Iaf94f6dda0686cce56be77431bbb961bfd5e8d14 Signed-off-by: Andreas Fritiofson Reviewed-on: http://openocd.zylin.com/1688 Tested-by: jenkins Reviewed-by: Spencer Oliver --- diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c index 91baec4b..de11b377 100644 --- a/src/flash/nor/stm32f2x.c +++ b/src/flash/nor/stm32f2x.c @@ -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;