From e090579d0a2d1aa38eab94b98877de9bcdd4f31d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni 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 Reviewed-by: Tom Rini --- include/configs/integrator-common.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/configs/integrator-common.h') diff --git a/include/configs/integrator-common.h b/include/configs/integrator-common.h index 8d9ec33c49..edc798b117 100644 --- a/include/configs/integrator-common.h +++ b/include/configs/integrator-common.h @@ -13,7 +13,6 @@ #define CONFIG_SYS_TIMERBASE 0x13000100 /* Timer1 */ #define CONFIG_SYS_LOAD_ADDR 0x7fc0 /* default load address */ #define CONFIG_SYS_LONGHELP -#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size*/ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128*1024) /* Size of malloc() pool */ /* Serial port PL010/PL011 through the device model */ -- cgit v1.2.3