1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00
Files
u-boot-megous/cmd
AKASHI Takahiro 6b95b38c41 efi_loader: rework bootmgr/bootefi using load_image API
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() are completely
overhauled and re-implemented using load_image API.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>

Use efi_root as parent handle for the loaded image.
LoadImage() should be called with BootPolicy = true by the boot manager.
Avoid duplicate free_pool().
Eliminate variable memdp which is not needed after anymore due to
"efi_loader: correctly split device path of loaded image".

Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2019-04-23 00:37:28 +02:00
..
2018-08-11 09:16:08 +02:00
2018-05-23 17:30:05 -04:00
2018-12-04 19:44:57 +01:00
2018-09-25 21:49:18 -04:00
2019-02-19 08:55:43 -05:00
2018-09-23 21:55:30 +02:00
2019-04-12 07:04:18 +02:00
2019-04-12 07:04:18 +02:00
2017-08-16 08:30:24 -04:00
2018-09-28 18:27:33 +02:00
2018-11-16 16:51:56 -05:00
2018-05-08 09:07:35 -04:00
2019-03-25 17:36:53 -04:00
2019-01-15 15:28:44 -05:00
2019-01-15 15:28:44 -05:00
2019-01-15 15:28:44 -05:00
2018-09-28 20:22:36 -04:00
2019-04-12 07:04:18 +02:00
2018-07-02 14:14:20 -05:00
2019-01-15 15:28:44 -05:00