summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2022-11-30 18:34:46 -0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-12-01 04:42:30 +0000
commit0fdadccd7104341f1fe29e78f43935a71b473fad (patch)
tree6e3bc8ae049b508ede53a53f0e6a6b432fb7d9bf
parent0f42a18674ab8ffcc8f2022feceabc47e0dc4f10 (diff)
downloadchrome-ec-0fdadccd7104341f1fe29e78f43935a71b473fad.tar.gz
apro: add fmap error log
If a board can't read ap flash reliably, then it won't be able to find the fmap. Print a message, so it's easier to tell what's happening. BUG=none TEST=none Change-Id: I6bdc1a4a927090e427b9c84b63b87aff4e8e4e1c Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4068960 Commit-Queue: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r--common/ap_ro_integrity_check.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/ap_ro_integrity_check.c b/common/ap_ro_integrity_check.c
index d714e1d12c..1027d5a935 100644
--- a/common/ap_ro_integrity_check.c
+++ b/common/ap_ro_integrity_check.c
@@ -1037,6 +1037,7 @@ static enum ap_ro_check_result find_gbb_with_fmap(struct gbb_descriptor *gbbd)
return ROV_SUCCEEDED;
}
+ CPRINTS("%s: FAILED", __func__);
return ROV_FAILED;
}
/*