commit | 9482fdfaba83ba2e312e6b796d18f69cfcc7d064 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed May 10 16:34:26 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Sat May 13 09:52:32 2023 -0400 |
tree | ad0e08049b5acf510ab6f56fe9d30cd1188c47e2 | |
parent | 2d5a8e1f04de49b7761da9b3e0303baa62e7b8f7 [diff] |
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: Simon Glass <sjg@chromium.org>