Skip to contentSkip to conversation

sc59x: Disable CONFIG_EFI_LOADER

PATCH RESEND In review Caleb Ethridge 2 participants 4 messages Aug 10 – Aug 20

lore
Share & tools
lore
#0 lore raw

cover sc59x: Disable CONFIG_EFI_LOADER

From: Caleb Ethridge <[email protected]>

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(-)
Signature · 1 line
2.43.0
#2 lore raw

PATCH RESEND 2/2 configs: adi: sc594: disable CONFIG_EFI_LOADER

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.

---
 configs/sc594-som-ezkit-spl_defconfig  | 1 +
 configs/sc594-som-ezlite-spl_defconfig | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
configs/sc594-som-ezkit-spl_defconfig +1 -0
index 4f8be110ee4..dec454d6472 100644
@@ -12,6 +12,7 @@ CONFIG_SC59X=y
 CONFIG_TARGET_SC594_SOM_EZKIT=y
 CONFIG_SYS_LOAD_ADDR=0xA2000000
 # 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
configs/sc594-som-ezlite-spl_defconfig +1 -1
index c045c67569b..9571c521176 100644
@@ -15,6 +15,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
@@ -83,4 +84,3 @@ CONFIG_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 # CONFIG_SPL_CRC8 is not set
-# CONFIG_TOOLS_MKEFICAPSULE is not set
Signature · 1 line
2.43.0
#1 lore raw

PATCH RESEND 1/2 configs: adi: sc598: disable CONFIG_EFI_LOADER

In reply to Caleb Ethridge

From: Caleb Ethridge <[email protected]>

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.

---
 configs/sc598-som-ezkit-spl_defconfig  | 2 +-
 configs/sc598-som-ezlite-spl_defconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
configs/sc598-som-ezkit-spl_defconfig +1 -1
index e2fee0d0be8..e9a80d11069 100644
@@ -30,6 +30,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
@@ -107,4 +108,3 @@ CONFIG_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 # CONFIG_SPL_CRC8 is not set
-# CONFIG_TOOLS_MKEFICAPSULE is not set
configs/sc598-som-ezlite-spl_defconfig +1 -1
index 9afe5c0789a..e2af0c66be8 100644
@@ -30,6 +30,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
@@ -105,4 +106,3 @@ CONFIG_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 # CONFIG_SPL_CRC8 is not set
-# CONFIG_TOOLS_MKEFICAPSULE is not set
Signature · 1 line
2.43.0
#3 lore raw
In reply to Caleb Ethridge
Quoted 8 lines · Caleb Ethridge

From: Caleb Ethridge <[email protected]>

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.

[...]

Applied to u-boot/main, thanks!

[1/2] configs: adi: sc598: disable CONFIG_EFI_LOADER

      commit: 5c8c261ffce995bc5b7edcf958630903eeab4207
[2/2] configs: adi: sc594: disable CONFIG_EFI_LOADER
      commit: 0fe8d8389a366ed3a368be8f508b766a0bee73ba
Signature · 1 line
Tom