diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-01-19 22:24:49 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-01-23 01:09:14 +0300 |
commit | 65436f91c5ba76f176a1f1d20801837c9746bb82 (patch) | |
tree | d5b114d2154ae83ac332409a2362fc9cd2b62d53 /lib/efi_loader/efi_boottime.c | |
parent | 4f94865b30e07a8c140751b0c0b238960fa27b8c (diff) | |
download | u-boot-65436f91c5ba76f176a1f1d20801837c9746bb82.tar.xz |
efi_loader: provide function to get last node of a device path
On a block device and its partitions the same protocols can be
installed. To tell the apart we can use the type of the last
node of the device path which is not the end node.
The patch provides a utility function to find this last node.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_loader/efi_boottime.c')
0 files changed, 0 insertions, 0 deletions