From 35de943d350bf90b8770f181575847937714cb27 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Fri, 23 Jan 2015 21:36:50 +0300 Subject: [PATCH] flash/nor/stm32f2x: add new revisions of STM32F4x parts MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/flash/nor/stm32f2x.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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: -- 2.39.5