summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2012-07-02 17:12:35 -0700
committerGerrit <chrome-bot@google.com>2012-07-02 20:36:58 -0700
commit3ed21ca42cee24b08e54f10aeb96a60e6e49f0d5 (patch)
treea25fd6fd3a574de18a04753cf0caa76fc7abbc3b
parent8a640043f1f2b99700a69b868a2fa12717ea76f6 (diff)
downloadchrome-ec-3ed21ca42cee24b08e54f10aeb96a60e6e49f0d5.tar.gz
stm32: increase CONFIG_FW_IMAGE_SIZE to 64KB
This increases the size of each image for STM32 devices from 32KB to 64KB. Signed-off-by: David Hendricks <dhendrix@chromium.org> BUG=none TEST=Built and flashed to Snow, built for Daisy Change-Id: Ide9b0a9e9929c8861a701c868e7ad3010aa575e1 Reviewed-on: https://gerrit.chromium.org/gerrit/26635 Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Commit-Ready: Simon Glass <sjg@chromium.org>
-rw-r--r--chip/stm32/config-stm32f100.h2
-rw-r--r--chip/stm32/config-stm32l15x.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/chip/stm32/config-stm32f100.h b/chip/stm32/config-stm32f100.h
index cf9c32b86b..51e4420537 100644
--- a/chip/stm32/config-stm32f100.h
+++ b/chip/stm32/config-stm32f100.h
@@ -11,7 +11,7 @@
#define CONFIG_RAM_SIZE 0x00002000
/* Size of one firmware image in flash */
-#define CONFIG_FW_IMAGE_SIZE (32 * 1024)
+#define CONFIG_FW_IMAGE_SIZE (64 * 1024)
#define CONFIG_FW_RO_OFF 0
#define CONFIG_FW_RO_SIZE CONFIG_FW_IMAGE_SIZE
diff --git a/chip/stm32/config-stm32l15x.h b/chip/stm32/config-stm32l15x.h
index 5f42524d95..7bbb7e4f09 100644
--- a/chip/stm32/config-stm32l15x.h
+++ b/chip/stm32/config-stm32l15x.h
@@ -11,7 +11,7 @@
#define CONFIG_RAM_SIZE 0x00004000
/* Size of one firmware image in flash */
-#define CONFIG_FW_IMAGE_SIZE (32 * 1024)
+#define CONFIG_FW_IMAGE_SIZE (64 * 1024)
#define CONFIG_FW_RO_OFF 0
#define CONFIG_FW_RO_SIZE CONFIG_FW_IMAGE_SIZE