summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-11-07 14:31:44 -0700
committerHeinrich Schuchardt <[email protected]>2024-11-09 10:01:46 +0100
commit8aa8a33661f328ae4f4ebbe652004ab57950872e (patch)
tree29e8d8b3b154437d60251a1c439dd3e6c4071612 /include
parent9fd623afede63a7049b498bbc285f3555eb2bf26 (diff)
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 <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/efi.h10
1 files changed, 10 insertions, 0 deletions
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 */