From 512075ca1c13fecfba95b96500f0dcd8af222533 Mon Sep 17 00:00:00 2001 From: wbx Date: Wed, 6 Jul 2005 10:38:52 +0000 Subject: [PATCH] allow bigger firmware, for customized firmware images git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1359 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/utils/src/trx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/utils/src/trx.c b/target/utils/src/trx.c index 79a04026e..6f9fa4168 100644 --- a/target/utils/src/trx.c +++ b/target/utils/src/trx.c @@ -62,7 +62,7 @@ uint32_t crc32buf(char *buf, size_t len); #define TRX_MAGIC 0x30524448 /* "HDR0" */ #define TRX_VERSION 1 -#define TRX_MAX_LEN 0x3A0000 +#define TRX_MAX_LEN 0x5A0000 #define TRX_NO_HEADER 1 /* Do not write TRX header */ struct trx_header {