preset stable and try* flags for TRX2 headers
authorMarkus Wigge <mwigge@marcant.net>
Thu, 1 Jul 2010 10:40:22 +0000 (10:40 +0000)
committerMarkus Wigge <mwigge@marcant.net>
Thu, 1 Jul 2010 10:40:22 +0000 (10:40 +0000)
commit664b86880483c3bd43a31d65565e47ecafdebe46
treefd2420b34c18e9087b6249403edf1e948b47588a
parent4b9976b8b1169a3ad6932a0b5e6c4612dede4f69
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

SVN-Revision: 22012
tools/firmware-utils/src/addpattern.c
tools/firmware-utils/src/trx.c