Skip to contentSkip to conversation

cmd: xtrace: Convert to bool

PATCH New Sean Anderson 3 participants 3 messages Mar 4, 2021 – Apr 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmd: xtrace: Convert to bool

This variable is a boolean, not a string.

---

 cmd/Kconfig               | 2 +-
 configs/bcm_ns3_defconfig | 2 +-
 configs/taurus_defconfig  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
cmd/Kconfig +1 -1
index 928a2a0a2d..09e638fafe 100644
@@ -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
configs/bcm_ns3_defconfig +1 -1
index d060097d74..5fb82e9479 100644
@@ -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
configs/taurus_defconfig +1 -1
index 6198159107..1f7e342229 100644
@@ -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
Signature · 1 line
2.25.1
#2 lore raw

PATCH 1/1 cmd: xtrace: Convert to bool

In reply to Sean Anderson
Quoted 4 lines · Sean Anderson

This variable is a boolean, not a string.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210413/4e194d38/attachment.sig>