]> git.sur5r.net Git - openocd/commitdiff
stm32f07/9: Both devices have 256 kByte Flash Maximum.
authorUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Fri, 9 Jan 2015 10:23:12 +0000 (11:23 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 26 Jan 2015 20:55:31 +0000 (20:55 +0000)
See RM0091, Rev.7. page 56.

Change-Id: I9a98094d49739686f93e26a5112eb0a2a8a7c883
Signed-off-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Reviewed-on: http://openocd.zylin.com/2458
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nor/stm32f1x.c

index e4fcca07fb1e0a5332bbea88a2e5050d10f97d75..0871b30862b15d77880d5e11ac07dd5752ba2346 100644 (file)
@@ -941,13 +941,6 @@ static int stm32x_probe(struct flash_bank *bank)
                stm32x_info->default_rdp = 0x55AA;
                break;
        case 0x448: /* stm32f07x */
-               page_size = 2048;
-               stm32x_info->ppage_size = 4;
-               max_flash_size_in_kb = 128;
-               stm32x_info->user_data_offset = 16;
-               stm32x_info->option_offset = 6;
-               stm32x_info->default_rdp = 0x55AA;
-               break;
        case 0x442: /* stm32f09x */
                page_size = 2048;
                stm32x_info->ppage_size = 4;