]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: disk: install FILE_SYSTEM_PROTOCOL only if available
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Mon, 7 Oct 2019 05:59:38 +0000 (14:59 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 17 Oct 2019 17:19:56 +0000 (19:19 +0200)
commit867400677cda0fac4a411f1549fe3a61bb5ed172
treef394018622c5b05543277d68bd4c47aefdf9e7f6
parentb7cd95627baac05b7023b014c802be309be636a0
efi_loader: disk: install FILE_SYSTEM_PROTOCOL only if available

In the current implementation, EFI_SIMPLEFILE_SYSTEM_PROTOCOL is always
installed to all the partitions even if some of them may house no file
system.

With this patch, that protocol will be installed only if any file system
exists.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_disk.c