summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerrit <chrome-bot@google.com>2012-05-22 15:50:09 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2012-05-22 15:50:09 -0700
commit37732ced8c49985489152363e795ef8712924951 (patch)
treeff20ff0596ad32abd2cb417331e31688847f443f
parenta7d62b4fd4b4cd9e290bbd1e9e2e479f9ab9455e (diff)
parentd819f6cee4f212d95e375a5fda8a08725909b89b (diff)
downloadchrome-ec-37732ced8c49985489152363e795ef8712924951.tar.gz
Merge "snow: ensure we have proper size in the FMAP"
-rw-r--r--chip/stm32/config-stm32f100.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chip/stm32/config-stm32f100.h b/chip/stm32/config-stm32f100.h
index 750465a250..552aa7ac58 100644
--- a/chip/stm32/config-stm32f100.h
+++ b/chip/stm32/config-stm32f100.h
@@ -27,7 +27,11 @@
#define CONFIG_SECTION_A_OFF CONFIG_FW_A_OFF
#define CONFIG_SECTION_A_SIZE CONFIG_FW_A_SIZE
#define CONFIG_SECTION_B_OFF CONFIG_FW_B_OFF
+#ifdef CONFIG_NO_RW_B
+#define CONFIG_SECTION_B_SIZE 0
+#else /* CONFIG_NO_RW_B */
#define CONFIG_SECTION_B_SIZE CONFIG_FW_B_SIZE
+#endif /* CONFIG_NO_RW_B */
/* no keys for now */
#define CONFIG_VBOOT_ROOTKEY_OFF (CONFIG_FW_RO_OFF + CONFIG_FW_RO_SIZE)