[U-Boot] [PATCH v1 01/12] efi_loader: add stub EFI_DEVICE_PATH_UTILITIES_PROTOCOL
Heinrich Schuchardt
xypron.glpk at gmx.de
Wed Oct 4 18:00:11 UTC 2017
On 10/04/2017 07:13 PM, Heinrich Schuchardt wrote:
> On 09/10/2017 03:22 PM, Rob Clark wrote:
>> From: Leif Lindholm <leif.lindholm at linaro.org>
>>
>> Signed-off-by: Leif Lindholm <leif.lindholm at linaro.org>
>> ---
>> include/efi_api.h | 30 +++++++++++
>> include/efi_loader.h | 2 +
>> lib/efi_loader/Makefile | 1 +
>> lib/efi_loader/efi_boottime.c | 4 ++
>> lib/efi_loader/efi_device_path_utilities.c | 83 ++++++++++++++++++++++++++++++
>> 5 files changed, 120 insertions(+)
>> create mode 100644 lib/efi_loader/efi_device_path_utilities.c
>>
<snip>
>> diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
>> index 3860feb79b..8bb243d673 100644
>> --- a/lib/efi_loader/efi_boottime.c
>> +++ b/lib/efi_loader/efi_boottime.c
>> @@ -775,6 +775,10 @@ void efi_setup_loaded_image(struct efi_loaded_image *info, struct efi_object *ob
>> obj->protocols[3].protocol_interface =
>> (void *)&efi_device_path_to_text;
>>
>> + obj->protocols[4].guid = &efi_guid_device_path_utilities_protocol;
>> + obj->protocols[4].protocol_interface =
>> + (void *)&efi_device_path_utilities;
>> +
Do not add a protocol that is not properly implemented yet.
Regards
Heinrich
More information about the U-Boot
mailing list