Re: [PATCH] efi_loader: simplify efi_load_from_path

2022-11-10 Thread Ilias Apalodimas
Heinrich Please ignore this. As we discussed although this cleans up things considerably, it's not exactly what the spec describes. So let's keep the existing function. I've sent another patch cleaning up the EFI_CALL() iterations Thanks /Ilias On Thu, 10 Nov 2022 at 13:36, Ilias Apalodimas

[PATCH] efi_loader: simplify efi_load_from_path

2022-11-10 Thread Ilias Apalodimas
The current implementation efi_load_from_path is a bit confusing. First of all it tries to check the device path to make sure it contains the path to the device plus the media path with the filename and nothing in between. But that should already be valid since U-Boot constructs those device paths