summaryrefslogtreecommitdiffstats
path: root/include
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
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')
-rw-r--r--include/efi/debug_ll.h2
-rw-r--r--include/efi/efi-payload.h (renamed from include/efi/efi.h)6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/efi/debug_ll.h b/include/efi/debug_ll.h
index 905f1c43cd..279e8995f2 100644
--- a/include/efi/debug_ll.h
+++ b/include/efi/debug_ll.h
@@ -6,7 +6,7 @@
#define EFI_DEBUG_CLEAR_MEMORY 0
#include <efi.h>
-#include <efi/efi.h>
+#include <efi/efi-payload.h>
static inline void PUTC_LL(char c)
{
diff --git a/include/efi/efi.h b/include/efi/efi-payload.h
index e77b1c5feb..a2daff08bb 100644
--- a/include/efi/efi.h
+++ b/include/efi/efi-payload.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef __MACH_EFI_H
-#define __MACH_EFI_H
+#ifndef __EFI_PAYLOAD_H
+#define __EFI_PAYLOAD_H
#include <efi.h>
#include <efi/efi-util.h>
@@ -21,4 +21,4 @@ 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 */
+#endif