Searched refs:crc1 (Results 1 - 1 of 1) sorted by relevance

/netgear-R7800-V1.0.2.28/target/linux/at91/image/dfboot/src/
H A Dmain.c385 // volatile unsigned int crc1 = 0, crc2 = 0;
412 crc1 = (int)(*(char *)(AddressToDownload + SizeToDownload)) +
421 if (crc1 != crc2) {
422 printf("DF CRC bad %x != %x\n",crc1,crc2);
551 unsigned int crc1 = 0, crc2 = 0; local
772 crc1 = 0;
773 pAT91->CRC32((const unsigned char *)AddressToDownload, SizeToDownload , &crc1);
776 *(char *)(AddressToDownload + SizeToDownload) = (char)(crc1 & 0x000000FF);
777 *(char *)(AddressToDownload + SizeToDownload + 1) = (char)((crc1 & 0x0000FF00) >> 8);
778 *(char *)(AddressToDownload + SizeToDownload + 2) = (char)((crc1
[all...]

Completed in 41 milliseconds