[U-Boot] [PATCH 8/8] include/configs: remove numerous CONFIG_SYS_BARGSIZE definitions

Tom Rini trini at konsulko.com
Fri Aug 25 01:12:15 UTC 2017


On Wed, Aug 23, 2017 at 10:59:06PM +0200, Thomas Petazzoni wrote:

> 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 at free-electrons.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170824/25883eb5/attachment.sig>


More information about the U-Boot mailing list