[PATCH 1/1] cmd: increase default for SYS_MAXARGS
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Mon Jan 15 14:46:56 CET 2024
The value of CONFIG SYS_MAXARGS limits the usability of the 'for' command.
The current default of 16 is too low for some use case. Cf.
https://bugs.launchpad.net/snap-core18/+bug/1910094
Increase the default to 64.
Reported-by: Dave Jones <dave.jones at canonical.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
cmd/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 150fa37a50a..4dbf89b7d71 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -90,7 +90,7 @@ config SYS_PROMPT_HUSH_PS2
config SYS_MAXARGS
int "Maximum number arguments accepted by commands"
- default 16
+ default 64
config SYS_XTRACE
bool "Command execution tracer"
--
2.43.0
More information about the U-Boot
mailing list