[PATCH] cmd: xtrace: Convert to bool

Sean Anderson sean.anderson at seco.com
Thu Mar 4 17:34:23 CET 2021


This variable is a boolean, not a string.

Signed-off-by: Sean Anderson <sean.anderson at seco.com>
---

 cmd/Kconfig               | 2 +-
 configs/bcm_ns3_defconfig | 2 +-
 configs/taurus_defconfig  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 928a2a0a2d..09e638fafe 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -65,7 +65,7 @@ config SYS_PROMPT_HUSH_PS2
 	  to complete a command. Usually "> ".
 
 config SYS_XTRACE
-	string "Command execution tracer"
+	bool "Command execution tracer"
 	depends on CMDLINE
 	default y if CMDLINE
 	help
diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig
index d060097d74..5fb82e9479 100644
--- a/configs/bcm_ns3_defconfig
+++ b/configs/bcm_ns3_defconfig
@@ -19,7 +19,7 @@ CONFIG_SILENT_U_BOOT_ONLY=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="u-boot> "
-CONFIG_SYS_XTRACE="n"
+CONFIG_SYS_XTRACE=n
 CONFIG_CMD_GPT=y
 CONFIG_CMD_GPT_RENAME=y
 CONFIG_CMD_MMC=y
diff --git a/configs/taurus_defconfig b/configs/taurus_defconfig
index 6198159107..1f7e342229 100644
--- a/configs/taurus_defconfig
+++ b/configs/taurus_defconfig
@@ -44,7 +44,7 @@ CONFIG_SPL_NAND_BASE=y
 CONFIG_SPL_DM_SPI_FLASH=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot> "
-CONFIG_SYS_XTRACE="n"
+CONFIG_SYS_XTRACE=n
 # CONFIG_CMD_BDI is not set
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
-- 
2.25.1



More information about the U-Boot mailing list