Re: [U-Boot] [RFC v2 10/11] efi_loader: rework bootmgr/bootefi using load_image API

2019-04-12 Thread Heinrich Schuchardt
On 4/12/19 10:38 AM, AKASHI Takahiro wrote: > On Fri, Apr 12, 2019 at 07:53:25AM +0200, Heinrich Schuchardt wrote: >> On 3/27/19 5:40 AM, AKASHI Takahiro wrote: >>> In the current implementation, bootefi command and EFI boot manager >>> don't use load_image API, instead, use more primitive and inte

Re: [U-Boot] [RFC v2 10/11] efi_loader: rework bootmgr/bootefi using load_image API

2019-04-12 Thread AKASHI Takahiro
On Fri, Apr 12, 2019 at 07:53:25AM +0200, Heinrich Schuchardt wrote: > On 3/27/19 5:40 AM, AKASHI Takahiro wrote: > >In the current implementation, bootefi command and EFI boot manager > >don't use load_image API, instead, use more primitive and internal > >functions. This will introduce duplicated

Re: [U-Boot] [RFC v2 10/11] efi_loader: rework bootmgr/bootefi using load_image API

2019-04-11 Thread Heinrich Schuchardt
On 3/27/19 5:40 AM, AKASHI Takahiro wrote: In the current implementation, bootefi command and EFI boot manager don't use load_image API, instead, use more primitive and internal functions. This will introduce duplicated code and potentially unknown bugs as well as inconsistent behaviours. With t

[U-Boot] [RFC v2 10/11] efi_loader: rework bootmgr/bootefi using load_image API

2019-03-26 Thread AKASHI Takahiro
In the current implementation, bootefi command and EFI boot manager don't use load_image API, instead, use more primitive and internal functions. This will introduce duplicated code and potentially unknown bugs as well as inconsistent behaviours. With this patch, do_efibootmgr() and do_boot_efi()