aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2012-12-04 10:15:59 +0000
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2012-12-30 11:33:04 +0000
commitf82798c8144af9a749d80b9eb844789f97ff5bcf (patch)
tree84efbd39bcde5fe665afe5a89a5006f3f455b743
parent977db554c441a7677272aa92e1e18dc29aef1c5a (diff)
flash: add new stm32l HD variant
Updated as per latest RM0038 Rev 6. Change-Id: Ia11309a1cdc3b8986f808b33a5c565bdc0ba58b0 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/1003 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
-rw-r--r--src/flash/nor/stm32lx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/flash/nor/stm32lx.c b/src/flash/nor/stm32lx.c
index 17ac6f08..6d7efb85 100644
--- a/src/flash/nor/stm32lx.c
+++ b/src/flash/nor/stm32lx.c
@@ -646,6 +646,10 @@ static int stm32lx_get_info(struct flash_bank *bank, char *buf, int buf_size)
snprintf(buf, buf_size, "Z");
break;
+ case 0x1018:
+ snprintf(buf, buf_size, "Y");
+ break;
+
default:
snprintf(buf, buf_size, "unknown");
break;