diff options
author | Tom Rini <trini@konsulko.com> | 2023-03-25 09:40:19 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-25 09:40:19 -0400 |
commit | 8be7b4629e87ff8db08dd087c81d58129d029bad (patch) | |
tree | fa7317c65ed1e93b9799cdba31ea1ac42906d073 /lib/efi_loader/efi_device_path_to_text.c | |
parent | 78f67f11a9920ef988cbff5341616695c3e87ebd (diff) | |
parent | 180b7118bed8433f9cfe4b5ad62c6b0d901924f5 (diff) |
Merge tag 'efi-2023.04-rc5' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2023.04-rc5
UEFI:
* Create unique device paths for USB devices with the same vendor
and product id.
Diffstat (limited to 'lib/efi_loader/efi_device_path_to_text.c')
-rw-r--r-- | lib/efi_loader/efi_device_path_to_text.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_device_path_to_text.c b/lib/efi_loader/efi_device_path_to_text.c index 9062058ac2..4b2ade3803 100644 --- a/lib/efi_loader/efi_device_path_to_text.c +++ b/lib/efi_loader/efi_device_path_to_text.c @@ -77,6 +77,13 @@ static char *dp_hardware(char *s, struct efi_device_path *dp) s += sprintf(s, ")"); break; } + case DEVICE_PATH_SUB_TYPE_CONTROLLER: { + struct efi_device_path_controller *cdp = + (struct efi_device_path_controller *)dp; + + s += sprintf(s, "Ctrl(0x%0x)", cdp->controller_number); + break; + } default: s = dp_unknown(s, dp); break; |