summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2012-08-22 18:58:15 -0700
committerGerrit <chrome-bot@google.com>2012-08-22 21:22:57 -0700
commitc12777fef3ac872731041fc07230ea0de240c355 (patch)
treebd8e94848d936cb39af2f215dea1b9a3504a8ebd
parent9f32da87b6cba2df4a448bcb37c7d64a80ac2010 (diff)
downloadchrome-ec-c12777fef3ac872731041fc07230ea0de240c355.tar.gz
Minimum write size for Snow is 2 bytes, not 64 bytes.
BUG=chrome-os-partner:12412 BRANCH=snow TEST=none The current constant is wrong. It was broken before, now it still may be broken but hopefully less so. Change-Id: Ia425bc45c4ccb0b4623fa802d4e5913389cb9d22 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/31190 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--chip/stm32/config-stm32f100.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/config-stm32f100.h b/chip/stm32/config-stm32f100.h
index 21d91f6695..ac9c12197d 100644
--- a/chip/stm32/config-stm32f100.h
+++ b/chip/stm32/config-stm32f100.h
@@ -9,7 +9,7 @@
#define CONFIG_FLASH_SIZE CONFIG_FLASH_PHYSICAL_SIZE
#define CONFIG_FLASH_BANK_SIZE 0x1000
#define CONFIG_FLASH_ERASE_SIZE 0x0400 /* erase bank size */
-#define CONFIG_FLASH_WRITE_SIZE 0x0040 /* minimum write size */
+#define CONFIG_FLASH_WRITE_SIZE 0x0002 /* minimum write size */
#define CONFIG_RAM_BASE 0x20000000
#define CONFIG_RAM_SIZE 0x00002000