summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerrit <chrome-bot@google.com>2012-05-22 14:05:04 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2012-05-22 14:05:04 -0700
commit43e26da7940633bca4b6cfcb0ff8a541375506f9 (patch)
tree89f7a68d28f63dabbe94f38866b853131cf228b6
parent5177cf371406895cb31bc6e768d96bb04f869d94 (diff)
parent5e1f87ce561235cd651212f573078b6ad90e2ab4 (diff)
downloadchrome-ec-43e26da7940633bca4b6cfcb0ff8a541375506f9.tar.gz
Merge "do not advertise RW-B in FMAP if it doesn't exist"
-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 */
}
};