stm32f07/9: Both devices have 256 kByte Flash Maximum.

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>
This commit is contained in:
Uwe Bonnes 2015-01-09 11:23:12 +01:00 committed by Spencer Oliver
parent 5b38f862f8
commit d61795c625
1 changed files with 0 additions and 7 deletions

View File

@ -941,13 +941,6 @@ static int stm32x_probe(struct flash_bank *bank)
stm32x_info->default_rdp = 0x55AA; stm32x_info->default_rdp = 0x55AA;
break; break;
case 0x448: /* stm32f07x */ 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 */ case 0x442: /* stm32f09x */
page_size = 2048; page_size = 2048;
stm32x_info->ppage_size = 4; stm32x_info->ppage_size = 4;