preset stable and try* flags for TRX2 headers
authormarkus <markus@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 1 Jul 2010 10:40:22 +0000 (10:40 +0000)
committermarkus <markus@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 1 Jul 2010 10:40:22 +0000 (10:40 +0000)
commit0df7081ccd85a9647fad8ec42cdc0cae024c290b
treefd2420b34c18e9087b6249403edf1e948b47588a
parent134e9e7bf347e6aa22c7c22e7f748427de6c1e2d
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