[U-Boot] [PATCH v3 09/15] tegra: Increase maximum arguments to 32

Simon Glass sjg at chromium.org
Fri Jun 5 22:39:40 CEST 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>
---

Changes in v3: None
Changes in v2: None

 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 7ae1792..30f9ebc 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -105,7 +105,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