From e800fa4537c99f051940a696f009ffc8e842399b Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 24 Jan 2015 16:46:10 -0800 Subject: [PATCH] stm32f1x: Add device id for SM32F04x parts These seem to work just like the stm32f03x and 05x parts; we'll see once I start actually trying to flash them. Signed-off-by: Keith Packard --- src/flash/nor/stm32f1x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c index 1b67ff033..e9811ba3e 100644 --- a/src/flash/nor/stm32f1x.c +++ b/src/flash/nor/stm32f1x.c @@ -923,6 +923,7 @@ static int stm32x_probe(struct flash_bank *bank) break; case 0x440: /* stm32f05x */ case 0x444: /* stm32f03x */ + case 0x445: /* stm32f04x */ page_size = 1024; stm32x_info->ppage_size = 4; max_flash_size_in_kb = 64; -- 2.47.2