summaryrefslogtreecommitdiff
path: root/tools/firmware-utils/src
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
commitf32f0814b156336ef5a0e7ce406e6591a90c113a (patch)
tree04ff0733d36eab597ef17ff4ebe47148aa66914d /tools/firmware-utils/src
parent2b71a6167f055187c58d3c120b42dccb63cfedbb (diff)
downloadmtk-20170518-f32f0814b156336ef5a0e7ce406e6591a90c113a.zip
mtk-20170518-f32f0814b156336ef5a0e7ce406e6591a90c113a.tar.gz
mtk-20170518-f32f0814b156336ef5a0e7ce406e6591a90c113a.tar.bz2
firmware-utils: raise the default trx image size limit for something more appropriate for devices with 8M flash
SVN-Revision: 17537
Diffstat (limited to 'tools/firmware-utils/src')
-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 5e5e77a..b983023 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 {