diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-12-05 20:00:50 +0000 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-12-24 10:59:55 +0000 |
commit | c3e537a340307f9f94b5b112ed0092b87b8cb640 (patch) | |
tree | 57bb668de540c97be6a7164e42a0d912f14f1169 /src/flash | |
parent | 69359b1c52233f222bced5784f9f2687e720a633 (diff) |
flash: add stm32f2x rev X
Updated as per ST RM0033 rev 5
Change-Id: I627fdab69b440b75b8e4f7c474216538fa5273a4
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1001
Tested-by: jenkins
Diffstat (limited to 'src/flash')
-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 f007ad75..42ab7304 100644 --- a/src/flash/nor/stm32f2x.c +++ b/src/flash/nor/stm32f2x.c @@ -713,6 +713,10 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size) snprintf(buf, buf_size, "Y"); break; + case 0x2003: + snprintf(buf, buf_size, "X"); + break; + default: snprintf(buf, buf_size, "unknown"); break; |