From e090579d0a2d1aa38eab94b98877de9bcdd4f31d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Wed, 23 Aug 2017 22:59:06 +0200 Subject: include/configs: remove numerous CONFIG_SYS_BARGSIZE definitions This commit removes definitions of CONFIG_SYS_BARGSIZE defined to be equal to CONFIG_SYS_CBSIZE in numerous configuration files. We remove such definitions in two situations: - CONFIG_SYS_CBSIZE is otherwise not defined in the board configuration file, which means the default value of CONFIG_SYS_CBSIZE == 256 applies. In this case, the default value of CONFIG_SYS_BARGSIZE == 512 (common/image.c) is suitable, as it is larger. - CONFIG_SYS_CBSIZE is defined in the board configuration file, but to a value equal or less than 512. In this case, the default value of CONFIG_SYS_BARGSIZE == 512 (common.image.c) is suitable, as it is equal or larger. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Tom Rini <trini@konsulko.com> --- include/configs/amcore.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/configs/amcore.h') diff --git a/include/configs/amcore.h b/include/configs/amcore.h index 77fc1ef61b..595bd57a7f 100644 --- a/include/configs/amcore.h +++ b/include/configs/amcore.h @@ -33,9 +33,6 @@ /* undef to save memory */ #undef CONFIG_SYS_LONGHELP -/* Boot argument buffer size */ -#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE - #define CONFIG_AUTO_COMPLETE 1 /* add autocompletion support */ #define CONFIG_MX_CYCLIC 1 /* enable mdc/mwc commands */ -- cgit