Skip to content
Commit c8894348 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

bootstd: Tidy up reporting of errors



In a few cases the error handling is not quite right. Make sure we
return the actual error in distro_efi_read_bootflow_file() rather than
-EINVAL. Return -IO when a file cannot be read. Also show the error name
if available.

This does not change operation, but does make it easier to diagnose
problems.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent d8d40bc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment