]> git.baikalelectronics.ru Git - uboot.git/commit
efi: Improve logging in efi_disk
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:47:32 +0000 (10:47 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:39 +0000 (18:11 -0500)
commit567481674be2cd8ef4489647a4ecbe97bfe068a9
treed8c8ca94061f2bfc483785c47fa132d3891a6415
parent850048f8a31ee403812ccb78c24477588a55118a
efi: Improve logging in efi_disk

When this fails it can be time-consuming to debug. Add some debugging
to help with this. Also try to return error codes instead of just using
-1.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/efi_loader/efi_disk.c