The debug information provided by efi_convert_device_path_to_text
is insufficient. The type and the subtype are needed to find
out why the function did not support a conversion.

Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de>
---
 lib/efi_loader/efi_device_path_to_text.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/efi_loader/efi_device_path_to_text.c 
b/lib/efi_loader/efi_device_path_to_text.c
index c6ac5e52f3..746b34a377 100644
--- a/lib/efi_loader/efi_device_path_to_text.c
+++ b/lib/efi_loader/efi_device_path_to_text.c
@@ -32,6 +32,9 @@ uint16_t *efi_convert_device_path_to_text(
 {
        EFI_ENTRY("%p, %d, %d", device_path, display_only, allow_shortcuts);
 
+       debug("EFI: type %d, subtype %d\n",
+             device_path->type, device_path->sub_type);
+
        unsigned long buffer_size;
        efi_status_t r;
        uint16_t *buffer = NULL;
-- 
2.11.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to