diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c index d021bbfb3..cfeac6c70 100644 --- a/src/flash/nor/stm32f1x.c +++ b/src/flash/nor/stm32f1x.c @@ -1142,11 +1142,15 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size) switch (device_id >> 16) { case 0x1000: - snprintf(buf, buf_size, "1.0"); + snprintf(buf, buf_size, "A"); + break; + + case 0x1001: + snprintf(buf, buf_size, "Z"); break; case 0x2000: - snprintf(buf, buf_size, "2.0"); + snprintf(buf, buf_size, "B"); break; default: @@ -1192,11 +1196,11 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size) switch (device_id >> 16) { case 0x1000: - snprintf(buf, buf_size, "1.0"); + snprintf(buf, buf_size, "A"); break; case 0x2000: - snprintf(buf, buf_size, "2.0"); + snprintf(buf, buf_size, "B"); break; default: