From: Pali Rohár Date: Fri, 23 Jul 2021 09:14:07 +0000 (+0200) Subject: tools: kwbimage: Change maximum number of arguments in binary header to 256 X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=6c7f152eefd760ceb71aabc36c0025814d645a83;p=u-boot.git tools: kwbimage: Change maximum number of arguments in binary header to 256 The number is stored in one byte, so the maximum should be 255. Signed-off-by: Pali Rohár Reviewed-by: Marek Behún Reviewed-by: Stefan Roese --- diff --git a/tools/kwbimage.c b/tools/kwbimage.c index 76c25628d4..2d4574af7d 100644 --- a/tools/kwbimage.c +++ b/tools/kwbimage.c @@ -89,7 +89,7 @@ struct nand_ecc_mode nand_ecc_modes[] = { /* Used to identify an undefined execution or destination address */ #define ADDR_INVALID ((uint32_t)-1) -#define BINARY_MAX_ARGS 8 +#define BINARY_MAX_ARGS 255 /* In-memory representation of a line of the configuration file */