[PATCH 2/2] configs: adi: sc594: disable CONFIG_EFI_LOADER

Caleb Ethridge <[email protected]> Wed, 5 Aug 2026 09:07:59 -0400
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <4a5c72ba9a9a9cb5b4faca56ed265880f83ce158.1785934620.git.caleb.ethridge@analog.com>
From: Caleb Ethridge <[email protected]>

The SC594 boards do not use UEFI support, CONFIG_EFI_LOADER brings in
unused code. Disable CONFIG_EFI_LOADER for the sc594-som-ezkit and
sc594-som-ezlite defconfigs.

Signed-off-by: Caleb Ethridge <[email protected]>
---
 configs/sc594-som-ezkit-spl_defconfig  | 1 +
 configs/sc594-som-ezlite-spl_defconfig | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/configs/sc594-som-ezkit-spl_defconfig b/configs/sc594-som-ezkit-spl_defconfig
index c62097a2ac9..b157849060e 100644
--- a/configs/sc594-som-ezkit-spl_defconfig
+++ b/configs/sc594-som-ezkit-spl_defconfig
@@ -14,6 +14,7 @@ CONFIG_SPL_SERIAL=y
 CONFIG_SC59X=y
 CONFIG_TARGET_SC594_SOM_EZKIT=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+# CONFIG_EFI_LOADER is not set
 CONFIG_FIT=y
 CONFIG_FIT_SIGNATURE=y
 CONFIG_LEGACY_IMAGE_FORMAT=y
diff --git a/configs/sc594-som-ezlite-spl_defconfig b/configs/sc594-som-ezlite-spl_defconfig
index 39481351102..dadff29f827 100644
--- a/configs/sc594-som-ezlite-spl_defconfig
+++ b/configs/sc594-som-ezlite-spl_defconfig
@@ -17,6 +17,7 @@ CONFIG_CDU0_CLKO10=5
 CONFIG_SF_DEFAULT_BUS=0
 CONFIG_SF_DEFAULT_CS=0
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+# CONFIG_EFI_LOADER is not set
 CONFIG_FIT=y
 CONFIG_FIT_SIGNATURE=y
 CONFIG_LEGACY_IMAGE_FORMAT=y
@@ -86,4 +87,3 @@ CONFIG_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 # CONFIG_SPL_CRC8 is not set
-# CONFIG_TOOLS_MKEFICAPSULE is not set
-- 
2.43.0