[U-Boot] [PATCH v2 04/18] efi_loader: fix efi_convert_device_node_to_text

Simon Glass sjg at chromium.org
Fri Nov 17 14:06:26 UTC 2017


On 12 November 2017 at 07:02, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> We need to implement to different functions for the
> EFI_DEVICE_PATH_TO_TEXT_PROTOCOL:
> ConvertDeviceNodeToText
> ConvertDevicePathToText
>
> A recent patch screwed up efi_convert_device_node_to_text
> to expect a device path and not a node.
>
> The patch makes both service functions work again.
>
> efi_convert_device_node_to_text is renamed to
> efi_convert_single_device_node_to_text and
> efi_convert_device_node_to_text_ext is renamed to
> efi_convert_device_node_to_text to avoid future
> confusion.
>
> A test of ConvertDeviceNodeToText will be provided in
> a follow-up patch.
>
> Fixes: adae4313cdd efi_loader: flesh out device-path to text
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v2
>         no change
> ---
>  lib/efi_loader/efi_device_path_to_text.c | 148 +++++++++++++++++--------------
>  1 file changed, 82 insertions(+), 66 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list