diff options
author | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2013-10-05 22:43:34 +0200 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-10-07 19:25:36 +0000 |
commit | bc7837007c0b1e2a194429a88e53dc23ec567be8 (patch) | |
tree | ba3760c8a1e598705c3c53d18460bc01e695d80d /src | |
parent | 85830c32bfa3159cf05ba7619bf32c1c43db7f2e (diff) |
stm32f2x: Detect STM32F42x rev Y
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/flash/nor/stm32f2x.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |