stm32f1x: Add device id for SM32F04x parts lpc11uxx
authorKeith Packard <keithp@keithp.com>
Sun, 25 Jan 2015 00:46:10 +0000 (16:46 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 25 Jan 2015 00:46:10 +0000 (16:46 -0800)
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 <keithp@keithp.com>
src/flash/nor/stm32f1x.c

index 1b67ff0331d0a07619a5cd2da202307261765d53..e9811ba3e4250ac5415fee3b9b0be3e7e8c77671 100644 (file)
@@ -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;