Re: [U-Boot] [PATCH 1/1] efi_loader: release file buffer after loading image

2019-03-05 Thread Heinrich Schuchardt
On 3/6/19 1:41 AM, AKASHI Takahiro wrote: > On Tue, Mar 05, 2019 at 08:56:12PM +0100, Heinrich Schuchardt wrote: >> efi_load_pe() copies and rebases the UEFI image. >> We do not need the buffer with the file contents afterwards. >> >> Signed-off-by: Heinrich Schuchardt >> --- >> lib/efi_loader/ef

Re: [U-Boot] [PATCH 1/1] efi_loader: release file buffer after loading image

2019-03-05 Thread AKASHI Takahiro
On Tue, Mar 05, 2019 at 08:56:12PM +0100, Heinrich Schuchardt wrote: > efi_load_pe() copies and rebases the UEFI image. > We do not need the buffer with the file contents afterwards. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_loader/efi_boottime.c | 50 +--

[U-Boot] [PATCH 1/1] efi_loader: release file buffer after loading image

2019-03-05 Thread Heinrich Schuchardt
efi_load_pe() copies and rebases the UEFI image. We do not need the buffer with the file contents afterwards. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 50 +-- 1 file changed, 18 insertions(+), 32 deletions(-) diff --git a/lib/efi_loa