diff options
author | Alec Berg <alecaberg@chromium.org> | 2014-09-25 09:19:10 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-09-25 22:49:45 +0000 |
commit | 23bad6732c7249dad117a26c9722d8adf6cf33da (patch) | |
tree | a60d8ab0e62c1c54903b0fac138c02d3b3a66fbc | |
parent | e04f4cce1143250e9005e9f7843e91638e8132fd (diff) | |
download | chrome-ec-23bad6732c7249dad117a26c9722d8adf6cf33da.tar.gz |
zinger: remove reserved 4k for pstate
Remove 4kB reserved flash for pstate since we don't use persistent
state flash on zinger and flash space is limited.
BUG=none
BRANCH=none
TEST=make -j buildall. load and run zinger.
Change-Id: Id0020932ed47873d22e81516abf97b4279a7deae
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/219932
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | chip/stm32/config-stm32f03x.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chip/stm32/config-stm32f03x.h b/chip/stm32/config-stm32f03x.h index 9334878266..e7a4a6b3ed 100644 --- a/chip/stm32/config-stm32f03x.h +++ b/chip/stm32/config-stm32f03x.h @@ -31,7 +31,12 @@ * Put pstate after RO to give RW more space and make RO write protect region * contiguous. */ +#ifdef BOARD_ZINGER +/* Do not use pstate for zinger. Flash space is limited */ +#define CONFIG_FW_PSTATE_SIZE 0 +#else #define CONFIG_FW_PSTATE_SIZE CONFIG_FLASH_BANK_SIZE +#endif #define CONFIG_FW_PSTATE_OFF (CONFIG_FW_RO_OFF + CONFIG_FW_RO_SIZE) /* Number of IRQ vectors on the NVIC */ |