summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorSimonQian <SimonQian@SimonQian.com>2011-04-24 23:35:27 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-04-26 12:05:07 +0200
commit5bd1f0bad4086072f9abffc5c7814511b1456b72 (patch)
tree8adca0ac819f667599f9793b7964708d977b834a /src/flash
parent2e88162b001eb548d9fe9bce925ee1c34f13c03e (diff)
downloadopenocd_libswd-5bd1f0bad4086072f9abffc5c7814511b1456b72.tar.gz
openocd_libswd-5bd1f0bad4086072f9abffc5c7814511b1456b72.tar.bz2
openocd_libswd-5bd1f0bad4086072f9abffc5c7814511b1456b72.tar.xz
openocd_libswd-5bd1f0bad4086072f9abffc5c7814511b1456b72.zip
add STM32F2 revY
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nor/stm32f2xxx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/flash/nor/stm32f2xxx.c b/src/flash/nor/stm32f2xxx.c
index cc5bddbf..df50e84b 100644
--- a/src/flash/nor/stm32f2xxx.c
+++ b/src/flash/nor/stm32f2xxx.c
@@ -659,6 +659,10 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size)
snprintf(buf, buf_size, "Z");
break;
+ case 0x2001:
+ snprintf(buf, buf_size, "Y");
+ break;
+
default:
snprintf(buf, buf_size, "unknown");
break;