diff options
author | SimonQian <SimonQian@SimonQian.com> | 2011-04-24 23:35:27 +0800 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-04-26 12:05:07 +0200 |
commit | 5bd1f0bad4086072f9abffc5c7814511b1456b72 (patch) | |
tree | 8adca0ac819f667599f9793b7964708d977b834a /src/flash/nor/stm32f2xxx.c | |
parent | 2e88162b001eb548d9fe9bce925ee1c34f13c03e (diff) | |
download | openocd+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/nor/stm32f2xxx.c')
-rw-r--r-- | src/flash/nor/stm32f2xxx.c | 4 |
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; |