From f32f0814b156336ef5a0e7ce406e6591a90c113a Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 7 Sep 2009 13:55:02 +0000
Subject: [PATCH] firmware-utils: raise the default trx image size limit for
 something more appropriate for devices with 8M flash

SVN-Revision: 17537
---
 tools/firmware-utils/src/trx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/firmware-utils/src/trx.c b/tools/firmware-utils/src/trx.c
index 5e5e77a492c..b9830239a2a 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 {