aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-07 13:55:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-07 13:55:02 +0000
commita76fe21fd26da0f547c49b8eff0a20bc92f9ee87 (patch)
treee2df03f88d6066091eba7ae0f06e704eebdd306c /tools
parentd9ca14f1eb788c8e79e6b8a41bc74af76c4cc3bf (diff)
downloadmaster-187ad058-a76fe21fd26da0f547c49b8eff0a20bc92f9ee87.tar.gz
master-187ad058-a76fe21fd26da0f547c49b8eff0a20bc92f9ee87.tar.bz2
master-187ad058-a76fe21fd26da0f547c49b8eff0a20bc92f9ee87.zip
firmware-utils: raise the default trx image size limit for something more appropriate for devices with 8M flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17537 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r--tools/firmware-utils/src/trx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/trx.c b/tools/firmware-utils/src/trx.c
index 5e5e77a492..b9830239a2 100644
--- a/tools/firmware-utils/src/trx.c
+++ b/tools/firmware-utils/src/trx.c
@@ -60,7 +60,7 @@ uint32_t crc32buf(char *buf, size_t len);
#define TRX_MAGIC 0x30524448 /* "HDR0" */
#define TRX_VERSION 1
-#define TRX_MAX_LEN 0x5A0000
+#define TRX_MAX_LEN 0x720000
#define TRX_NO_HEADER 1 /* Do not write TRX header */
struct trx_header {