Home
last modified time | relevance | path

Searched refs:checkSum (Results 1 – 1 of 1) sorted by relevance

/u-boot/tools/
A Dimg2srec.c182 uint16_t checkSum; in BuildSRecord() local
206 checkSum = 0; in BuildSRecord()
207 pa = WriteHex(pa, (uint8_t)sRLen, &checkSum); in BuildSRecord()
211 pa = WriteHex(pa, (uint8_t)(addr >> (8 * (addrLen - i))), &checkSum); in BuildSRecord()
216 pa = WriteHex(pa, *data++, &checkSum); in BuildSRecord()
220 checkSum = ~checkSum; in BuildSRecord()
221 pa = WriteHex(pa, (uint8_t)checkSum, &checkSum); in BuildSRecord()

Completed in 3 milliseconds