efi_loader: reimplement LocateDevicePath
authorHeinrich Schuchardt <[email protected]>
Sun, 26 Nov 2017 13:05:10 +0000 (14:05 +0100)
committerAlexander Graf <[email protected]>
Fri, 1 Dec 2017 12:35:30 +0000 (13:35 +0100)
commitae2c85c1ce7d76793213aca95a0a7d2b61037499
treee7ecd596c035066ffcc4e561452e5809ef36e4eb
parent61aba1931a559a325c39f48d24a47de857d0da75
efi_loader: reimplement LocateDevicePath

The current implementation of efi_locate_device_path does not match
the UEFI specification. It completely ignores the protocol
parameters.

Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
lib/efi_loader/efi_boottime.c