]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: fix GetInfo and SetInfo
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 26 Oct 2024 06:40:47 +0000 (08:40 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 1 Nov 2024 19:37:58 +0000 (13:37 -0600)
commit8b1d6fcc9082c9eea590408e4675c45671107cd7
treee64c86ffd27432ab61f47130d66c22538a5f21b6
parent22fdac381f98b55d7dba55010f8fe9fab58d5556
efi_loader: fix GetInfo and SetInfo

* Some of our file system drivers cannot report a file size for
  directories. Use a dummy value in this case.
* For SetInfo the UEFI spec requires to ignore the file size field.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/efi_loader/efi_file.c