[PATCH 27/27] x86: efi: Add various useful options
Simon Glass
sjg at chromium.org
Wed May 28 10:24:53 CEST 2025
Enable logging, TPM and the lsblk and cat commands. These are all useful
for using and debugging the EFI app.
For the 32-bit app, enable CONFIG_BOARD_EARLY_INIT_R so that the EFI
devices are scanned.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
configs/efi-x86_app32_defconfig | 9 +++++++++
configs/efi-x86_app64_defconfig | 6 ++++++
2 files changed, 15 insertions(+)
diff --git a/configs/efi-x86_app32_defconfig b/configs/efi-x86_app32_defconfig
index 2848dac905b..de97cb64ce7 100644
--- a/configs/efi-x86_app32_defconfig
+++ b/configs/efi-x86_app32_defconfig
@@ -17,7 +17,11 @@ CONFIG_BOOTARGS="root=/dev/sdb3 init=/sbin/init rootwait ro"
CONFIG_BOOTCOMMAND="bootflow scan -lbp"
CONFIG_SYS_PBSIZE=532
CONFIG_SYS_CONSOLE_INFO_QUIET=y
+CONFIG_LOG=y
CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOARD_EARLY_INIT_R=y
+CONFIG_CMD_LSBLK=y
+CONFIG_CMD_CAT=y
CONFIG_CMD_TIME=y
CONFIG_CMD_EXT4_WRITE=y
CONFIG_MAC_PARTITION=y
@@ -29,4 +33,9 @@ CONFIG_NO_NET=y
CONFIG_REGMAP=y
CONFIG_SYSCON=y
# CONFIG_SCSI is not set
+# CONFIG_TPM_V1 is not set
+CONFIG_TPM2_EFI=y
+CONFIG_CONSOLE_SCROLL_LINES=5
+CONFIG_CMD_DHRYSTONE=y
+CONFIG_TPM=y
# CONFIG_GZIP is not set
diff --git a/configs/efi-x86_app64_defconfig b/configs/efi-x86_app64_defconfig
index f0dac46a552..55daf7bec2a 100644
--- a/configs/efi-x86_app64_defconfig
+++ b/configs/efi-x86_app64_defconfig
@@ -19,8 +19,11 @@ CONFIG_BOOTARGS="root=/dev/sdb3 init=/sbin/init rootwait ro"
CONFIG_BOOTCOMMAND="bootflow scan -lbp"
CONFIG_SYS_PBSIZE=532
CONFIG_SYS_CONSOLE_INFO_QUIET=y
+CONFIG_LOG=y
CONFIG_DISPLAY_BOARDINFO_LATE=y
CONFIG_BOARD_EARLY_INIT_R=y
+CONFIG_CMD_LSBLK=y
+CONFIG_CMD_CAT=y
CONFIG_CMD_TIME=y
CONFIG_CMD_EXT4_WRITE=y
CONFIG_MAC_PARTITION=y
@@ -32,6 +35,9 @@ CONFIG_NO_NET=y
CONFIG_REGMAP=y
CONFIG_SYSCON=y
# CONFIG_SCSI is not set
+# CONFIG_TPM_V1 is not set
+CONFIG_TPM2_EFI=y
CONFIG_CONSOLE_SCROLL_LINES=5
CONFIG_CMD_DHRYSTONE=y
+CONFIG_TPM=y
# CONFIG_GZIP is not set
--
2.43.0
More information about the U-Boot
mailing list