summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2022-01-14 09:30:20 -0600
committerCommit Bot <commit-bot@chromium.org>2022-01-15 00:08:45 +0000
commitb4ab5c7e02e39a69bf10f40318198b5d5462bd4a (patch)
tree8301e34717c86cef276839e628d99950fb1ee25c /common
parentd746307808af0151293ce63c08f03237519866cc (diff)
downloadchrome-ec-b4ab5c7e02e39a69bf10f40318198b5d5462bd4a.tar.gz
brdprop: log invalid and ambiguous events
Log brdprop errors in flog, so the team can track brdprop errors from the AP without grepping through cr50 logs. BUG=b:214550629 TEST=flash on red board. Verify invalid strap events are logged. enable closed-loop-reset on the red board. Verify "ambiguous" strap logs are ignored. Change-Id: Ibea73fb19119fa81ed3652c5d68e430cdbae9fa5 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3386405 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Commit-Queue: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/flash_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/flash_log.c b/common/flash_log.c
index 798f48a2a6..927c7ac3f7 100644
--- a/common/flash_log.c
+++ b/common/flash_log.c
@@ -486,7 +486,7 @@ test_export_static void flash_log_init(void)
}
flash_log_write_disable();
}
-DECLARE_HOOK(HOOK_INIT, flash_log_init, HOOK_PRIO_DEFAULT);
+DECLARE_HOOK(HOOK_INIT, flash_log_init, HOOK_PRIO_INIT_CR50_BOARD - 1);
uint32_t flash_log_get_tstamp(void)
{