summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--futility/updater.h1
-rw-r--r--futility/updater_quirks.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/futility/updater.h b/futility/updater.h
index 69ba5e2d..856ea781 100644
--- a/futility/updater.h
+++ b/futility/updater.h
@@ -14,6 +14,7 @@
/* FMAP section names. */
static const char * const FMAP_RO_FRID = "RO_FRID",
* const FMAP_RO_SECTION = "RO_SECTION",
+ * const FMAP_RO_CBFS = "COREBOOT",
* const FMAP_RO_GBB = "GBB",
* const FMAP_RW_VBLOCK_A = "VBLOCK_A",
* const FMAP_RW_VBLOCK_B = "VBLOCK_B",
diff --git a/futility/updater_quirks.c b/futility/updater_quirks.c
index 1d1ba62a..e5ee5c1b 100644
--- a/futility/updater_quirks.c
+++ b/futility/updater_quirks.c
@@ -116,10 +116,10 @@ static int ec_ro_software_sync(struct updater_config *cfg)
ERROR("EC image has invalid section '%s'.\n", "EC_RO");
return 1;
}
- ec_ro_path = cbfs_extract_file(tmp_path, FMAP_RO_SECTION, "ecro",
+ ec_ro_path = cbfs_extract_file(tmp_path, FMAP_RO_CBFS, "ecro",
&cfg->tempfiles);
if (!ec_ro_path ||
- !cbfs_file_exists(tmp_path, FMAP_RO_SECTION, "ecro.hash")) {
+ !cbfs_file_exists(tmp_path, FMAP_RO_CBFS, "ecro.hash")) {
INFO("No valid EC RO for software sync in AP firmware.\n");
return 1;
}