* [PATCH 1/2] configs: adi: sc598: disable CONFIG_EFI_LOADER
2026-08-05 13:07 [PATCH 0/2] sc59x: Disable CONFIG_EFI_LOADER Caleb Ethridge
@ 2026-08-05 13:07 ` Caleb Ethridge
2026-08-05 13:07 ` [PATCH 2/2] configs: adi: sc594: " Caleb Ethridge
2026-08-05 23:01 ` [PATCH 0/2] sc59x: Disable CONFIG_EFI_LOADER Greg Malysa
2 siblings, 0 replies; 5+ messages in thread
From: Caleb Ethridge @ 2026-08-05 13:07 UTC (permalink / raw)
To: u-boot; +Cc: Tom Rini, malysagreg, linux, philip, Caleb Ethridge
From: Caleb Ethridge <caleb.ethridge@analog.com>
The SC598 boards do not use UEFI support, so CONFIG_EFI_LOADER brings in
unused code. Disable CONFIG_EFI_LOADER for the sc598-som-ezkit and
sc598-som-ezlite defconfigs.
Signed-off-by: Caleb Ethridge <caleb.ethridge@analog.com>
---
configs/sc598-som-ezkit-spl_defconfig | 2 +-
configs/sc598-som-ezlite-spl_defconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configs/sc598-som-ezkit-spl_defconfig b/configs/sc598-som-ezkit-spl_defconfig
index bf001459831..1c6e4ea613a 100644
--- a/configs/sc598-som-ezkit-spl_defconfig
+++ b/configs/sc598-som-ezkit-spl_defconfig
@@ -32,6 +32,7 @@ CONFIG_CDU0_CLKO10=5
CONFIG_CDU0_CLKO12=1
CONFIG_CDU0_CLKO13=3
CONFIG_CDU0_CLKO14=3
+# CONFIG_EFI_LOADER is not set
CONFIG_FIT=y
CONFIG_FIT_SIGNATURE=y
CONFIG_LEGACY_IMAGE_FORMAT=y
@@ -110,4 +111,3 @@ CONFIG_USB=y
CONFIG_USB_DWC2=y
CONFIG_USB_STORAGE=y
# CONFIG_SPL_CRC8 is not set
-# CONFIG_TOOLS_MKEFICAPSULE is not set
diff --git a/configs/sc598-som-ezlite-spl_defconfig b/configs/sc598-som-ezlite-spl_defconfig
index 09fda4f4ecc..b3c347c6804 100644
--- a/configs/sc598-som-ezlite-spl_defconfig
+++ b/configs/sc598-som-ezlite-spl_defconfig
@@ -32,6 +32,7 @@ CONFIG_CDU0_CLKO10=5
CONFIG_CDU0_CLKO12=1
CONFIG_CDU0_CLKO13=3
CONFIG_CDU0_CLKO14=3
+# CONFIG_EFI_LOADER is not set
CONFIG_FIT=y
CONFIG_FIT_SIGNATURE=y
CONFIG_LEGACY_IMAGE_FORMAT=y
@@ -108,4 +109,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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] configs: adi: sc594: disable CONFIG_EFI_LOADER
2026-08-05 13:07 [PATCH 0/2] sc59x: Disable CONFIG_EFI_LOADER Caleb Ethridge
2026-08-05 13:07 ` [PATCH 1/2] configs: adi: sc598: disable CONFIG_EFI_LOADER Caleb Ethridge
@ 2026-08-05 13:07 ` Caleb Ethridge
2026-08-05 23:01 ` [PATCH 0/2] sc59x: Disable CONFIG_EFI_LOADER Greg Malysa
2 siblings, 0 replies; 5+ messages in thread
From: Caleb Ethridge @ 2026-08-05 13:07 UTC (permalink / raw)
To: u-boot; +Cc: Tom Rini, malysagreg, linux, philip, Caleb Ethridge
From: Caleb Ethridge <caleb.ethridge@analog.com>
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 <caleb.ethridge@analog.com>
---
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] sc59x: Disable CONFIG_EFI_LOADER
2026-08-05 13:07 [PATCH 0/2] sc59x: Disable CONFIG_EFI_LOADER Caleb Ethridge
2026-08-05 13:07 ` [PATCH 1/2] configs: adi: sc598: disable CONFIG_EFI_LOADER Caleb Ethridge
2026-08-05 13:07 ` [PATCH 2/2] configs: adi: sc594: " Caleb Ethridge
@ 2026-08-05 23:01 ` Greg Malysa
2026-08-10 12:24 ` Caleb Ethridge
2 siblings, 1 reply; 5+ messages in thread
From: Greg Malysa @ 2026-08-05 23:01 UTC (permalink / raw)
To: Caleb Ethridge; +Cc: u-boot, Tom Rini, linux, philip
Hi Caleb,
On Wed, Aug 5, 2026 at 9:08 AM Caleb Ethridge <Caleb.Ethridge@analog.com> wrote:
>
> From: Caleb Ethridge <caleb.ethridge@analog.com>
>
> The sc5xx boards do not use UEFI support, so CONFIG_EFI_LOADER
> brings in unused code in the build. This is already disabled for
> every board except for the sc598 and sc594 variants, this series
> extends this exclusion to those boards.
>
> Caleb Ethridge (2):
> configs: adi: sc598: disable CONFIG_EFI_LOADER
> configs: adi: sc594: disable CONFIG_EFI_LOADER
>
> configs/sc594-som-ezkit-spl_defconfig | 1 +
> configs/sc594-som-ezlite-spl_defconfig | 2 +-
> configs/sc598-som-ezkit-spl_defconfig | 2 +-
> configs/sc598-som-ezlite-spl_defconfig | 2 +-
> 4 files changed, 4 insertions(+), 3 deletions(-)
>
> --
> 2.43.0
>
This series fails to apply to uboot/main for me.
I only see
# CONFIG_TOOLS_MKEFICAPSULE is not set
in sc594-som-ezlite-spl_defconfig. and the other diffs are missing
changes introduced in c6796425da45f ("arm: sc5xx: Remove
SC5XX_LOADADDR"), so I think you need to rebase on top of main to pick
them up.
Thanks,
Greg
^ permalink raw reply [flat|nested] 5+ messages in thread