From: Spencer Oliver Date: Tue, 4 Dec 2012 10:15:59 +0000 (+0000) Subject: flash: add new stm32l HD variant X-Git-Tag: v0.7.0-rc1~118 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f82798c8144af9a749d80b9eb844789f97ff5bcf;p=openocd flash: add new stm32l HD variant Updated as per latest RM0038 Rev 6. Change-Id: Ia11309a1cdc3b8986f808b33a5c565bdc0ba58b0 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/1003 Tested-by: jenkins Reviewed-by: Andreas Fritiofson --- 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;