]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: disk: add efi_disk_is_removable()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Thu, 12 May 2022 02:29:01 +0000 (11:29 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 28 May 2022 08:59:27 +0000 (10:59 +0200)
commit05f391e2fc73bf9f746534929b4436b86518f4fc
tree97bde2d59c0d7041dc9b2ac7fe9b236f9874d8fe
parent8131c85a77f9d06f28ccbf121545023ef78d8e86
efi_loader: disk: add efi_disk_is_removable()

This helper function will be used to determine if the device is
removable media, initially for handling a short-path loading.

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