summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/fmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/fmap.c b/common/fmap.c
index 00b127a1b7..2a2d288d5f 100644
--- a/common/fmap.c
+++ b/common/fmap.c
@@ -144,6 +144,7 @@ const struct _ec_fmap {
.area_flags = FMAP_AREA_STATIC,
},
+#ifndef CONFIG_NO_RW_B
/* Firmware B */
{
.area_name = "RW_SECTION_B",
@@ -169,5 +170,6 @@ const struct _ec_fmap {
.area_size = CONFIG_VBLOCK_SIZE,
.area_flags = FMAP_AREA_STATIC,
},
+#endif /* CONFIG_NO_RW_B */
}
};