From 3a841ae8722a1db02e7b32b67b26dac0315330c8 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Tue, 26 Jun 2012 17:51:31 -0700 Subject: [PATCH] stm32mon: set flash_size to 128KB for chip ID 0x420 This updates the flash_size to match 128KB parts. Unfortunately there does not seem to be an easy way to differentiate between the 64KB and 128KB parts at runtime. BUG=none TEST=tested on Snow Signed-off-by: David Hendricks Change-Id: Ie1ca6f6d04753e91d937f67dec193fcf5566251e Reviewed-on: https://gerrit.chromium.org/gerrit/26188 Reviewed-by: Vincent Palatin Commit-Ready: David Hendricks Tested-by: David Hendricks --- util/stm32mon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/stm32mon.c b/util/stm32mon.c index e356e9bde9..dd66040bcc 100644 --- a/util/stm32mon.c +++ b/util/stm32mon.c @@ -54,7 +54,7 @@ struct stm32_def { uint32_t page_size; } chip_defs[] = { {0x416, "STM32L15xx", 0x08000000, 0x20000, 256}, - {0x420, "STM32F100xx", 0x08000000, 0x10000, 1024}, + {0x420, "STM32F100xx", 0x08000000, 0x20000, 1024}, { 0 } };