[U-Boot] [PATCH 27/32] nitrogen6x: config: allow more bootargs parameters

Eric Nelson eric.nelson at boundarydevices.com
Thu Oct 2 21:16:48 CEST 2014


From: Troy Kisky <troy.kisky at boundarydevices.com>

Increase the maximum number of arguments allowed by the Hush parser.
This prevents errors when users or scripts aren't quoting parameters
when setting the "bootargs" variable et al.

Signed-off-by: Troy Kisky <troy.kisky at boundarydevices.com>
Signed-off-by: Eric Nelson <eric.nelson at boundarydevices.com>
---
 include/configs/nitrogen6x.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
index b911d06..50b6c5a 100644
--- a/include/configs/nitrogen6x.h
+++ b/include/configs/nitrogen6x.h
@@ -326,7 +326,7 @@
 
 /* Print Buffer Size */
 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
-#define CONFIG_SYS_MAXARGS	       16
+#define CONFIG_SYS_MAXARGS	       48
 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
 
 #define CONFIG_SYS_MEMTEST_START       0x10000000
-- 
1.9.1



More information about the U-Boot mailing list