summaryrefslogtreecommitdiff
path: root/tools/binman/ftest.py
diff options
context:
space:
mode:
authorCaleb Connolly <caleb.connolly@linaro.org>2024-01-04 16:03:35 +0000
committerTom Rini <trini@konsulko.com>2024-01-18 12:18:48 -0500
commit9d92c418acfb7576e12e2bd53fed294bb9543724 (patch)
treef25eaefcd963ddc0e0ab9260e392944328cfb29c /tools/binman/ftest.py
parentf7cca7ccc5117eaafcc2bde91ad1bed6fee7cfc3 (diff)
bootdev: avoid infinite probe loop
Sometimes, when only one bootdev is available, and it fails to probe, we end up in an infinite loop calling probe() on the same device over and over. With only debug level log output. Break the loop if we fail to probe the same device twice in a row, and promote the probe failure message to log_warning(). Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Diffstat (limited to 'tools/binman/ftest.py')
0 files changed, 0 insertions, 0 deletions