Re: [U-Boot] [PATCH 06/16] efi_loader: open_info in CloseProtocol

2018-01-07 Thread Simon Glass
On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > efi_open_protocol and efi_close_protocol have to keep track of > opened protocols. > > Check if the protocol was opened for the same agent and > controller. > > Remove all open protocol information for this pair. > > Signed-off-by: Heinric

[U-Boot] [PATCH 06/16] efi_loader: open_info in CloseProtocol

2017-12-17 Thread Heinrich Schuchardt
efi_open_protocol and efi_close_protocol have to keep track of opened protocols. Check if the protocol was opened for the same agent and controller. Remove all open protocol information for this pair. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 26 +++