]> git.sur5r.net Git - u-boot/commit
efi_loader: reimplement efi_locate_protocol
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Tue, 11 Jul 2017 20:06:24 +0000 (22:06 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 19 Jul 2017 12:14:40 +0000 (14:14 +0200)
commit88adae5ef057845f6bc69c63123df4332fe835b1
tree349755e54709b23c59264acedea2cd510615727b
parent011f432745ae7fdb645e16c03382a4181d262619
efi_loader: reimplement efi_locate_protocol

The UEFI specification requires that LocateProtol finds the first
handle supporting the protocol and to return a pointer to its
interface.

So we have to assign the protocols to an efi_object and not use
any separate storage.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c
include/efi_loader.h
lib/efi_loader/efi_boottime.c