From 5bd1f0bad4086072f9abffc5c7814511b1456b72 Mon Sep 17 00:00:00 2001 From: SimonQian Date: Sun, 24 Apr 2011 23:35:27 +0800 Subject: [PATCH] add STM32F2 revY --- src/flash/nor/stm32f2xxx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/flash/nor/stm32f2xxx.c b/src/flash/nor/stm32f2xxx.c index cc5bddbf..df50e84b 100644 --- a/src/flash/nor/stm32f2xxx.c +++ b/src/flash/nor/stm32f2xxx.c @@ -659,6 +659,10 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size) snprintf(buf, buf_size, "Z"); break; + case 0x2001: + snprintf(buf, buf_size, "Y"); + break; + default: snprintf(buf, buf_size, "unknown"); break; -- 2.39.5