summaryrefslogtreecommitdiff
path: root/chip/stm32/config-stm32l15x.h
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2012-05-21 23:28:37 +0000
committerVincent Palatin <vpalatin@chromium.org>2012-05-22 15:04:13 +0000
commit15854fa680c57cfd49f30cf265a2a4d4bb67b076 (patch)
tree9eed8190fce4cf59b4b8dd597d0f16dbeb8a2e10 /chip/stm32/config-stm32l15x.h
parent16d8f6c8bc985090fab9b416bf89d996115c3f93 (diff)
downloadchrome-ec-15854fa680c57cfd49f30cf265a2a4d4bb67b076.tar.gz
Add FMAP even if VBOOT is not activatedv1.0.0
This simplifies the re-flashing for stm32 based platforms. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BUG=chrome-os-partner:8865 TEST=On Daisy, flashrom -p internal:bus=lpc -w ec.bin Change-Id: I66860383c34110b1edf852929c244a2b682bc105
Diffstat (limited to 'chip/stm32/config-stm32l15x.h')
-rw-r--r--chip/stm32/config-stm32l15x.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chip/stm32/config-stm32l15x.h b/chip/stm32/config-stm32l15x.h
index e576758cba..5f42524d95 100644
--- a/chip/stm32/config-stm32l15x.h
+++ b/chip/stm32/config-stm32l15x.h
@@ -27,6 +27,14 @@
#define CONFIG_SECTION_B_OFF CONFIG_FW_B_OFF
#define CONFIG_SECTION_B_SIZE CONFIG_FW_B_SIZE
+/* no keys for now */
+#define CONFIG_VBOOT_ROOTKEY_OFF (CONFIG_FW_RO_OFF + CONFIG_FW_RO_SIZE)
+#define CONFIG_VBLOCK_A_OFF (CONFIG_FW_A_OFF + CONFIG_FW_A_SIZE)
+#define CONFIG_VBLOCK_B_OFF (CONFIG_FW_B_OFF + CONFIG_FW_B_SIZE)
+#define CONFIG_VBOOT_ROOTKEY_SIZE 0
+#define CONFIG_VBLOCK_SIZE 0
+
+
/* Number of IRQ vectors on the NVIC */
#define CONFIG_IRQ_COUNT 45