[PATCH 25/27] x86: efi: Drop some unused options
Simon Glass
sjg at chromium.org
Wed May 28 10:24:51 CEST 2025
The cache is managed by the first-stage EFI firmware, so the 'cache'
command is not useful.
SCSI and AHCI are not used in the app, since it relies on EFI for all
block devices.
Make sure all three options are not present in the 32/64-bit apps.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
configs/efi-x86_app32_defconfig | 2 ++
configs/efi-x86_app64_defconfig | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/configs/efi-x86_app32_defconfig b/configs/efi-x86_app32_defconfig
index 229a4004c0b..2a7d6c9916e 100644
--- a/configs/efi-x86_app32_defconfig
+++ b/configs/efi-x86_app32_defconfig
@@ -6,6 +6,7 @@ CONFIG_DEBUG_UART_BASE=0x0
CONFIG_DEBUG_UART_CLOCK=0
CONFIG_ARCH_EFI_X86=y
CONFIG_DEBUG_UART=y
+# CONFIG_AHCI is not set
CONFIG_TARGET_EFI_X86_APP32=y
CONFIG_EFI_CLIENT=y
CONFIG_FIT=y
@@ -38,4 +39,5 @@ CONFIG_BOOTFILE="bzImage"
CONFIG_NO_NET=y
CONFIG_REGMAP=y
CONFIG_SYSCON=y
+# CONFIG_SCSI is not set
# CONFIG_GZIP is not set
diff --git a/configs/efi-x86_app64_defconfig b/configs/efi-x86_app64_defconfig
index 39b0137686a..e822dd24f00 100644
--- a/configs/efi-x86_app64_defconfig
+++ b/configs/efi-x86_app64_defconfig
@@ -7,6 +7,7 @@ CONFIG_DEBUG_UART_CLOCK=0
CONFIG_X86_RUN_64BIT=y
CONFIG_ARCH_EFI_X86=y
CONFIG_DEBUG_UART=y
+# CONFIG_AHCI is not set
CONFIG_TARGET_EFI_X86_APP64=y
CONFIG_EFI_CLIENT=y
CONFIG_EFI_APP_64BIT=y
@@ -24,8 +25,6 @@ CONFIG_BOARD_EARLY_INIT_R=y
CONFIG_HUSH_PARSER=y
CONFIG_CMD_BOOTZ=y
CONFIG_CMD_PART=y
-# CONFIG_CMD_SCSI is not set
-CONFIG_CMD_CACHE=y
CONFIG_CMD_TIME=y
CONFIG_CMD_EXT2=y
CONFIG_CMD_EXT4=y
@@ -42,6 +41,7 @@ CONFIG_BOOTFILE="bzImage"
CONFIG_NO_NET=y
CONFIG_REGMAP=y
CONFIG_SYSCON=y
+# CONFIG_SCSI is not set
CONFIG_CONSOLE_SCROLL_LINES=5
CONFIG_CMD_DHRYSTONE=y
# CONFIG_GZIP is not set
--
2.43.0
More information about the U-Boot
mailing list