diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-08-23 22:59:03 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-03 15:30:29 -0400 |
commit | bb939d7a6da499dce7fa44aac60a2055f47698a4 (patch) | |
tree | 69c5d93112430ab93ea73c6088478981d9e26ecc /include/config_fallbacks.h | |
parent | 432e39806805c46d583e75e8dd2f7b71cc6089c1 (diff) |
include/config_fallbacks.h: add default for CONFIG_SYS_MAXARGS
CONFIG_SYS_MAXARGS contains the maximum number of arguments accepted
by U-Boot commands. Since the vast majority of the platforms define it
to 16, it makes sense to have a default definition to 16, which will
allow to remove this definition from a significant number of
platforms.
It will allow to remove the default definition from 216 platform .h
files, leaving only 56 platforms with non-default values (15, 24, 32,
48, 64, 96, 128 or 256).
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/config_fallbacks.h')
-rw-r--r-- | include/config_fallbacks.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index 6a6350e0a1..46b7a2a6f2 100644 --- a/include/config_fallbacks.h +++ b/include/config_fallbacks.h @@ -85,6 +85,10 @@ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #endif +#ifndef CONFIG_SYS_MAXARGS +#define CONFIG_SYS_MAXARGS 16 +#endif + #ifndef CONFIG_FIT_SIGNATURE #define CONFIG_IMAGE_FORMAT_LEGACY #endif |