[U-Boot] [PATCH 14/20] tegra: Increase maximum arguments to 32

Simon Glass sjg at chromium.org
Tue Feb 17 23:29:48 CET 2015


When setting up large environment variables we can exceed 16 arguemnts.
Increase this to avoid problems.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/configs/tegra-common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 005fc6a..14cc366 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -103,7 +103,7 @@
 /* Print Buffer Size */
 #define CONFIG_SYS_PBSIZE		(CONFIG_SYS_CBSIZE + \
 					sizeof(CONFIG_SYS_PROMPT) + 16)
-#define CONFIG_SYS_MAXARGS		16	/* max number of command args */
+#define CONFIG_SYS_MAXARGS		32	/* max number of command args */
 /* Boot Argument Buffer Size */
 #define CONFIG_SYS_BARGSIZE		(CONFIG_SYS_CBSIZE)
 
-- 
2.2.0.rc0.207.ga3a616c



More information about the U-Boot mailing list