summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2014-07-25 08:22:59 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-07-26 00:01:40 +0000
commit5778a9943a7d48ffba387934593cdf44d4f950b9 (patch)
tree54ac90dc5acbeb13758d49922850496f99f830eb
parent762ad07cffa1dc0326d68d7a94df0323a6e4de10 (diff)
downloadchrome-ec-5778a9943a7d48ffba387934593cdf44d4f950b9.tar.gz
stm32f07x: increase RAM space to 16kB
Increase RAM_SIZE for all stm32f07x chips to 16kB to use all of on chip SRAM. BUG=none BRANCH=none TEST=added 4000 byte array, verified in ec.RO.map that we are using the new RAM space (bss size over 0x2000), loaded on samus and verified that we could read and write to the 4000 byte array. Change-Id: Ided3ce7c5fb353c9c37a01e6ed64f03786717e9b Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/209847 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Vic Yang <victoryang@chromium.org>
-rw-r--r--chip/stm32/config-stm32f07x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/config-stm32f07x.h b/chip/stm32/config-stm32f07x.h
index 843f8886bf..380cf51306 100644
--- a/chip/stm32/config-stm32f07x.h
+++ b/chip/stm32/config-stm32f07x.h
@@ -15,7 +15,7 @@
#define CONFIG_FLASH_WRITE_IDEAL_SIZE 0x0002
#define CONFIG_RAM_BASE 0x20000000
-#define CONFIG_RAM_SIZE 0x00002000
+#define CONFIG_RAM_SIZE 0x00004000
/* Size of one firmware image in flash */
#define CONFIG_FW_IMAGE_SIZE (64 * 1024)