aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/stm32lx.c
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2012-07-12 12:15:26 +0100
committerFreddie Chopin <freddie.chopin@gmail.com>2012-07-30 06:25:04 +0000
commitfe583e78c264156544e1797979afb63f2962d109 (patch)
treedea38f5a71367a7d972faba5420175552ad616c2 /src/flash/nor/stm32lx.c
parentba00ef3c404ed816a1880aa1023b2673232b9728 (diff)
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 <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/742 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'src/flash/nor/stm32lx.c')
-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 3bc6eed9..716517b1 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;