preset stable and try* flags for TRX2 headers
authorMarkus Wigge <markus@cultcom.de>
Thu, 1 Jul 2010 10:40:22 +0000 (10:40 +0000)
committerMarkus Wigge <markus@cultcom.de>
Thu, 1 Jul 2010 10:40:22 +0000 (10:40 +0000)
commit785ebf7bf3e05244254530f445d12335caa9d4eb
treefd2420b34c18e9087b6249403edf1e948b47588a
parent364325f08e5ab54217f3a7e1f2f0c9bb062d21ba
preset stable and try* flags for TRX2 headers

* changed addpattern.c to preset the stable and try flags used in TRXv2 images
to dupe CFE and pretend a stable image.
* changed trx.c to calculate TRXv2 CRC with stable and try flags set to 0xFF
like CFE does on startup
* fixed compile warnings in trx.c by explicit casting

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22012 3c298f89-4303-0410-b956-a3cf2f4a3e73
tools/firmware-utils/src/addpattern.c
tools/firmware-utils/src/trx.c