From fe583e78c264156544e1797979afb63f2962d109 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Thu, 12 Jul 2012 12:15:26 +0100 Subject: [PATCH] flash: add stm32l Revision X support Revision X is not mentioned in the latest RM0038 rev5, however it has been confirmed correct by ST using ST-LINK Utilty. Change-Id: I65210e512ea25818a1d0d3b223502ebd7535b29d Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/742 Tested-by: jenkins Reviewed-by: Andreas Fritiofson Reviewed-by: Freddie Chopin --- src/flash/nor/stm32lx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/flash/nor/stm32lx.c b/src/flash/nor/stm32lx.c index 3bc6eed970..716517b14c 100644 --- a/src/flash/nor/stm32lx.c +++ b/src/flash/nor/stm32lx.c @@ -618,6 +618,10 @@ static int stm32lx_get_info(struct flash_bank *bank, char *buf, int buf_size) snprintf(buf, buf_size, "Y"); break; + case 0x1018: + snprintf(buf, buf_size, "X"); + break; + case 0x1038: snprintf(buf, buf_size, "W"); break; -- 2.30.2