[PATCH 4/4] x86: remove reference to empty file

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Jan 3 03:58:24 PST 2022


This might have been needed in the past when there was legacy boot
machine support. Now there isn't, so we can just delete it.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/x86/mach-efi/include/mach/barebox.lds.h | 1 -
 include/asm-generic/barebox.lds.h            | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)
 delete mode 100644 arch/x86/mach-efi/include/mach/barebox.lds.h

diff --git a/arch/x86/mach-efi/include/mach/barebox.lds.h b/arch/x86/mach-efi/include/mach/barebox.lds.h
deleted file mode 100644
index 40a8c178f10d..000000000000
--- a/arch/x86/mach-efi/include/mach/barebox.lds.h
+++ /dev/null
@@ -1 +0,0 @@
-/* empty */
diff --git a/include/asm-generic/barebox.lds.h b/include/asm-generic/barebox.lds.h
index c5f9d975472a..a03655d41cc4 100644
--- a/include/asm-generic/barebox.lds.h
+++ b/include/asm-generic/barebox.lds.h
@@ -6,8 +6,7 @@
 #define STRUCT_ALIGNMENT 32
 #define STRUCT_ALIGN() . = ALIGN(STRUCT_ALIGNMENT)
 
-#if defined CONFIG_X86 || \
-	defined CONFIG_ARCH_EP93XX
+#if defined CONFIG_ARCH_EP93XX
 #include <mach/barebox.lds.h>
 #endif
 
-- 
2.30.2




More information about the barebox mailing list