Re: [U-Boot] [PATCH v2 2/3] efi_loader: open_info in OpenProtocol, CloseProtocol

2017-08-05 Thread Rob Clark
On Sat, Aug 5, 2017 at 12:58 PM, Heinrich Schuchardt wrote: > efi_open_protocol and close_protocol have to keep track of > opened protocols. > > So we add an array open_info to each protocol of each handle. > > OpenProtocol has to call DisconnectController internally so we need > a wrapper efi_dis

[U-Boot] [PATCH v2 2/3] efi_loader: open_info in OpenProtocol, CloseProtocol

2017-08-05 Thread Heinrich Schuchardt
efi_open_protocol and close_protocol have to keep track of opened protocols. So we add an array open_info to each protocol of each handle. OpenProtocol has to call DisconnectController internally so we need a wrapper efi_disconnect_controller. Signed-off-by: Heinrich Schuchardt --- v2: