On 19.07.21 14:20, Marek Behún wrote:
From: Pali Rohár <p...@kernel.org>

The number is stored in one byte, so the maximum should be 255.

Signed-off-by: Pali Rohár <p...@kernel.org>
Reviewed-by: Marek Behún <marek.be...@nic.cz>

Reviewed-by: Stefan Roese <s...@denx.de>

Thanks,
Stefan

---
  tools/kwbimage.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

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 */


Viele Grüße,
Stefan

--
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: s...@denx.de

Reply via email to