summaryrefslogtreecommitdiffstats
path: root/include/efi/efi.h
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-11-22 09:47:15 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-11-25 08:43:59 +0100
commit09e48b3d17468d15e89f023c5086f0d9425a3003 (patch)
tree8eace6ae2a465fd470039afda8955e33fcd710cf /include/efi/efi.h
parent7042af0a9828c61ee813cb29f548c2a471fd2108 (diff)
downloadbarebox-09e48b3d17468d15e89f023c5086f0d9425a3003.tar.gz
barebox-09e48b3d17468d15e89f023c5086f0d9425a3003.tar.xz
efi: rename <efi/efi.h> to <efi/efi-payload.h>
The split between <efi.h> and <efi/efi.h> is confusing: The former contains universal definitions, while the latter contains barebox utilities on top. To make the distinction clear, rename <efi/efi.h> to <efi/efi-payload.h> as it's used for EFI payloads. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20211122084732.2597109-14-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/efi/efi.h')
-rw-r--r--include/efi/efi.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/efi/efi.h b/include/efi/efi.h
deleted file mode 100644
index e77b1c5feb..0000000000
--- a/include/efi/efi.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef __MACH_EFI_H
-#define __MACH_EFI_H
-
-#include <efi.h>
-#include <efi/efi-util.h>
-
-extern efi_system_table_t *efi_sys_table;
-extern efi_handle_t efi_parent_image;
-extern struct efi_device_path *efi_device_path;
-extern efi_loaded_image_t *efi_loaded_image;
-
-void *efi_get_variable(char *name, efi_guid_t *vendor, int *var_size);
-
-static inline void *efi_get_global_var(char *name, int *var_size)
-{
- return efi_get_variable(name, &efi_global_variable_guid, var_size);
-}
-
-int efi_set_variable(char *name, efi_guid_t *vendor, uint32_t attributes,
- void *buf, unsigned long size);
-int efi_set_variable_usec(char *name, efi_guid_t *vendor, uint64_t usec);
-
-#endif /* __MACH_EFI_H */