[U-Boot] [PATCH 2/2] cm-t35: increase the MAXARGS

Tom Rini trini at ti.com
Mon Oct 8 17:39:26 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/07/12 04:17, Igor Grinberg wrote:
> Increase the MAXARGS to support more than 16 arguments.
> 
> Signed-off-by: Igor Grinberg <grinberg at 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.

- -- 
Tom

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBAgAGBQJQcvOuAAoJENk4IS6UOR1W400P/1DjgD7n/1O19rZvZ0ET4wW1
b8hrNJXdWjuvQhB/suDurRHAaSicnBzavvAtg4ZGwMhqMfo4eg6fRfxNlB3fxMjE
HO5F188x07ycnwma4uDDhAnKOVve/iAYZbZTvMXK6QYQCnfA2FKtdliwRsQ4rN3r
a8nlkUc00mZrzKalk40KPP/8vWsaIc/EwgGaytnvpMRKqIGkZB/e1Ay028U678TH
k+P12xSHoE8WqiidsIJQAO+fCK5RUkHo7uJWg9q1eHAw/0CeEGGlpj2p2vVSgEuh
RxrsQn1/Bv6My5HuEhemcemgIbhHFCNFQ3LiY5cRDbDg49EJKkWkTq/zHhcxPJV0
zXAPINlTHUZ2NtWMHmk/VN7VdQL9at+IZvplGJ4oPSWLxi74ResdA64q17ICSiPN
cZEOk0vTkr1ib37Bboi/NNGmHpuWi0XY9lLYrJJSsqtOg5wqJw7uRo89MOPn2EXR
/pMHgqbaavYZzVw6wQ9Y1rxhhf+U+fo0x5nUbT9lGyXM9+FbXwsoXrf6eDmUNAPV
9t6/oVNh4FumZ64RHCucYUiluzXiV/eeKR6oeNfMhBzLqjec7gz0G/lMENoQada7
Du3RzAdsqbVGFL/4NKY2w1qZb+XDpQM+to4bJpRWeYq34potCwshmZJ4Ev7FSfpz
eTnaIqbfCMk1nnAuDsYo
=LfT0
-----END PGP SIGNATURE-----


More information about the U-Boot mailing list