include/crc.h: Remove unreferenced cyg_xxx() prototypes
These cyg_ prototypes are not referenced anywhere in current mainline U-Boot. So lets remove them. Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
ecb57f69b2
commit
0299c2efb1
|
|
@ -36,32 +36,6 @@
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Compute a CRC, using the POSIX 1003 definition */
|
|
||||||
extern uint32_t
|
|
||||||
cyg_posix_crc32(unsigned char *s, int len);
|
|
||||||
|
|
||||||
/* Gary S. Brown's 32 bit CRC */
|
|
||||||
|
|
||||||
extern uint32_t
|
|
||||||
cyg_crc32(unsigned char *s, int len);
|
|
||||||
|
|
||||||
/* Gary S. Brown's 32 bit CRC, but accumulate the result from a */
|
|
||||||
/* previous CRC calculation */
|
|
||||||
|
|
||||||
extern uint32_t
|
|
||||||
cyg_crc32_accumulate(uint32_t crc, unsigned char *s, int len);
|
|
||||||
|
|
||||||
/* Ethernet FCS Algorithm */
|
|
||||||
|
|
||||||
extern uint32_t
|
|
||||||
cyg_ether_crc32(unsigned char *s, int len);
|
|
||||||
|
|
||||||
/* Ethernet FCS algorithm, but accumulate the result from a previous */
|
|
||||||
/* CRC calculation. */
|
|
||||||
|
|
||||||
extern uint32_t
|
|
||||||
cyg_ether_crc32_accumulate(uint32_t crc, unsigned char *s, int len);
|
|
||||||
|
|
||||||
/* 16 bit CRC with polynomial x^16+x^12+x^5+1 (CRC-CCITT) */
|
/* 16 bit CRC with polynomial x^16+x^12+x^5+1 (CRC-CCITT) */
|
||||||
|
|
||||||
uint16_t crc16_ccitt(uint16_t crc_start, unsigned char *s, int len);
|
uint16_t crc16_ccitt(uint16_t crc_start, unsigned char *s, int len);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue