aboutsummaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorCody Schafer <openocd@codyps.com>2018-08-21 10:46:40 -0400
committerTomas Vanek <vanekt@fbl.cz>2018-09-09 21:10:05 +0100
commit23cd59cdf2a563b840e5917e36c4241ee4d988f4 (patch)
tree057dc4413f13106389c43a52d43f0270faca3dc4 /src/flash
parent724fddcba0482d674ca2a630bb8790eee63e29b8 (diff)
downloadriscv-openocd-23cd59cdf2a563b840e5917e36c4241ee4d988f4.zip
riscv-openocd-23cd59cdf2a563b840e5917e36c4241ee4d988f4.tar.gz
riscv-openocd-23cd59cdf2a563b840e5917e36c4241ee4d988f4.tar.bz2
flash/stm32f2x: add stm32f7 revision Z identification
Signed-off-by: Cody P Schafer <openocd@codyps.com> Change-Id: Ia0169514d494bae2a98d92ebc97c8eccc10bc6c4 Reviewed-on: http://openocd.zylin.com/4657 Tested-by: jenkins Reviewed-by: Christopher Head <chead@zaber.com> Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nor/stm32f2x.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c
index 413d04d..b46fb07 100644
--- a/src/flash/nor/stm32f2x.c
+++ b/src/flash/nor/stm32f2x.c
@@ -1190,6 +1190,9 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size)
case 0x1000:
rev_str = "A";
break;
+ case 0x1001:
+ rev_str = "Z";
+ break;
}
break;