From: Uwe Bonnes Date: Fri, 9 Jan 2015 10:23:12 +0000 (+0100) Subject: stm32f07/9: Both devices have 256 kByte Flash Maximum. X-Git-Tag: v0.9.0-rc1~182 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d61795c625008968a1ad105805bf58f16e5aa8ee;p=openocd stm32f07/9: Both devices have 256 kByte Flash Maximum. See RM0091, Rev.7. page 56. Change-Id: I9a98094d49739686f93e26a5112eb0a2a8a7c883 Signed-off-by: Uwe Bonnes Reviewed-on: http://openocd.zylin.com/2458 Tested-by: jenkins Reviewed-by: Spencer Oliver --- diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c index e4fcca07..0871b308 100644 --- a/src/flash/nor/stm32f1x.c +++ b/src/flash/nor/stm32f1x.c @@ -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;