summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-11-22 09:47:28 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-12-13 23:19:38 +0100
commitca9ed088d0256cb313288724f346af2dd586f6bf (patch)
treeee5617ebe15ca6ec6799e4e6544ef2a4b2ca909e
parentde8c3d980c9031e3276043c7f9ee22f9990c929a (diff)
downloadbarebox-ca9ed088d0256cb313288724f346af2dd586f6bf.tar.gz
barebox-ca9ed088d0256cb313288724f346af2dd586f6bf.tar.xz
partitions: efi: move header to central location
The header contains GUIDs and definitions that will become applicable outside of the GPT partition parser as well, so move them out. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20211122084732.2597109-27-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--common/partitions/efi.c2
-rw-r--r--include/efi/partition.h (renamed from common/partitions/efi.h)0
2 files changed, 1 insertions, 1 deletions
diff --git a/common/partitions/efi.c b/common/partitions/efi.c
index 135b08901a..6d811bfb3b 100644
--- a/common/partitions/efi.c
+++ b/common/partitions/efi.c
@@ -19,7 +19,7 @@
#include <crc.h>
#include <linux/ctype.h>
-#include "efi.h"
+#include <efi/partition.h>
#include "parser.h"
static const int force_gpt = IS_ENABLED(CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE);
diff --git a/common/partitions/efi.h b/include/efi/partition.h
index a9b10c1266..a9b10c1266 100644
--- a/common/partitions/efi.h
+++ b/include/efi/partition.h