
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 10/08/12 17:39, Tom Rini wrote:
On 10/07/12 04:17, Igor Grinberg wrote:
Increase the MAXARGS to support more than 16 arguments.
Signed-off-by: Igor Grinberg grinberg@compulab.co.il --- include/configs/cm_t35.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h index 8e28fbc..e18fb5a 100644 --- a/include/configs/cm_t35.h +++ b/include/configs/cm_t35.h @@ -256,7 +256,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)
Why? This is the max number of arguments to a command in U-Boot not the size of the command line arguments.
Yes, I know that, but for some reason I was mislead by one of our engineers that we need to increase it. After checking the issue, I've came to a conclusion, that there was a missing quote(s) and we don't really need to increase the MAXARGS.
Thanks for bringing my attention to this. You can drop this patch.
- -- Regards, Igor.