From 8aa8a33661f328ae4f4ebbe652004ab57950872e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 7 Nov 2024 14:31:44 -0700 Subject: efi_loader: Move get_efi_pxe_arch() to efi_helper Move this function from the EFI bootmeth to the common efi_helper file. No functional change is intended. Signed-off-by: Simon Glass --- include/efi.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') diff --git a/include/efi.h b/include/efi.h index ecdf7210750..789a64eda9d 100644 --- a/include/efi.h +++ b/include/efi.h @@ -678,4 +678,14 @@ void efi_show_tables(struct efi_system_table *systab); */ const char *efi_get_basename(void); +/** + * efi_get_pxe_arch() - Get the architecture value for PXE + * + * See: + * http://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml + * + * Return: Architecture value + */ +int efi_get_pxe_arch(void); + #endif /* _LINUX_EFI_H */ -- cgit v1.3.1