summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_device_path_utilities.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-05-25 09:14:07 -0600
committerTom Rini <trini@konsulko.com>2025-05-25 09:14:07 -0600
commit92da174fc6367c6398bda9950b40598f57bd43da (patch)
tree245cf5035b0e115368d2eb0df6a2a38dc5100e66 /lib/efi_loader/efi_device_path_utilities.c
parentdf2ed552f0b05591090369a7fe7ddc92439dea5c (diff)
parentf8949b1d1d0d4dc4d5abb458c59e831b9e2a0dca (diff)
Merge tag 'efi-2025-07-rc3-3' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request efi-2025-07-rc3-3 CI: * https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/26313 UEFI: * run dhcp if an http boot option is selected * separate device path into its own header and add it to the API docs * rename END to EFI_DP_END * make x86 SMBIOS tables usable in the EFI context
Diffstat (limited to 'lib/efi_loader/efi_device_path_utilities.c')
-rw-r--r--lib/efi_loader/efi_device_path_utilities.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_device_path_utilities.c b/lib/efi_loader/efi_device_path_utilities.c
index 552c5bb1f05..87d52df5066 100644
--- a/lib/efi_loader/efi_device_path_utilities.c
+++ b/lib/efi_loader/efi_device_path_utilities.c
@@ -7,6 +7,7 @@
#define LOG_CATEGORY LOGC_EFI
+#include <efi_device_path.h>
#include <efi_loader.h>
const efi_guid_t efi_guid_device_path_utilities_protocol =
@@ -31,7 +32,7 @@ static efi_uintn_t EFIAPI get_device_path_size(
efi_uintn_t sz = 0;
EFI_ENTRY("%pD", device_path);
- /* size includes the END node: */
+ /* size includes the EFI_DP_END node: */
if (device_path)
sz = efi_dp_size(device_path) + sizeof(struct efi_device_path);
return EFI_EXIT(sz);