[PATCH] fixup! efi: add option to generate vfat file for barebox.efi

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Dec 8 02:30:34 PST 2025


efi: payload: move EFI_PAYLOAD_ESP_IMAGE into payload/Kconfig

Anticipating addition of full loader support, it's important to clearly mark
things specific to the payload, so move the symbol there.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 efi/Kconfig         | 4 ----
 efi/payload/Kconfig | 3 +++
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/efi/Kconfig b/efi/Kconfig
index 49839f8466ea..35850b20ef50 100644
--- a/efi/Kconfig
+++ b/efi/Kconfig
@@ -4,10 +4,6 @@ menu "EFI (Extensible Firmware Interface) Support"
 
 source "efi/payload/Kconfig"
 
-config EFI_PAYLOAD_ESP_IMAGE
-	bool "Generate barebox.esp image from payload"
-	depends on EFI_PAYLOAD
-
 config EFI
 	bool
 
diff --git a/efi/payload/Kconfig b/efi/payload/Kconfig
index 782e974d8f58..871395b69683 100644
--- a/efi/payload/Kconfig
+++ b/efi/payload/Kconfig
@@ -25,6 +25,9 @@ if EFI_PAYLOAD
 config EFI_STUB
 	def_bool HAVE_EFI_STUB
 
+config EFI_PAYLOAD_ESP_IMAGE
+	bool "Generate barebox.esp image from payload"
+
 config EFI_HANDOVER_PROTOCOL
 	bool "EFI Handover protocol (DEPRECATED)"
 	depends on X86
-- 
2.47.3




More information about the barebox mailing list