summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2014-04-23 16:03:58 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-04-30 09:45:59 +0000
commit39588b067fe2411a326fcec23a5df6584f20fab7 (patch)
treea2048cb13fa6e68fe81ada7726aed4a7ee908e0d
parentac4238c29986a3a0ec587432712bd21c99731e16 (diff)
downloadchrome-ec-39588b067fe2411a326fcec23a5df6584f20fab7.tar.gz
stm32mon: fix STM32F03x flash size
The current SKU has 32kB. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=none TEST=read-back the flash content from a Zinger power brick using "stm32mon -r". Change-Id: Id74e585f4b49b9ef5fecdec8182f3710eb0b4960 Reviewed-on: https://chromium-review.googlesource.com/196690 Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--util/stm32mon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/stm32mon.c b/util/stm32mon.c
index 2e73bcf8f3..f96dfdb88a 100644
--- a/util/stm32mon.c
+++ b/util/stm32mon.c
@@ -58,7 +58,7 @@ struct stm32_def {
{0x420, "STM32F100xx", 0x08000000, 0x20000, 1024},
{0x410, "STM32F102R8", 0x08000000, 0x10000, 1024},
{0x440, "STM32F05x", 0x08000000, 0x10000, 1024},
- {0x444, "STM32F03x", 0x08000000, 0x10000, 1024},
+ {0x444, "STM32F03x", 0x08000000, 0x08000, 1024},
{0x448, "STM32F07xB", 0x08000000, 0x20000, 1024},
{ 0 }
};