summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2012-06-26 17:51:31 -0700
committerGerrit <chrome-bot@google.com>2012-06-26 19:02:00 -0700
commit3a841ae8722a1db02e7b32b67b26dac0315330c8 (patch)
treea6d0acd9ecb6b684ad0a84fa559ea59468615d33 /util
parent108aab99d49649e1ef61763a8803bd3754c5ad1e (diff)
downloadchrome-ec-3a841ae8722a1db02e7b32b67b26dac0315330c8.tar.gz
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 <dhendrix@chromium.org> Change-Id: Ie1ca6f6d04753e91d937f67dec193fcf5566251e Reviewed-on: https://gerrit.chromium.org/gerrit/26188 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Commit-Ready: David Hendricks <dhendrix@chromium.org> Tested-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/stm32mon.c2
1 files changed, 1 insertions, 1 deletions
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 }
};