mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 12:03:39 +00:00
0299c2efb1
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>
43 lines
1,002 B
C
43 lines
1,002 B
C
/*
|
|
*==========================================================================
|
|
*
|
|
* crc.h
|
|
*
|
|
* Interface for the CRC algorithms.
|
|
*
|
|
*==========================================================================
|
|
* SPDX-License-Identifier: eCos-2.0
|
|
*==========================================================================
|
|
*#####DESCRIPTIONBEGIN####
|
|
*
|
|
* Author(s): Andrew Lunn
|
|
* Contributors: Andrew Lunn
|
|
* Date: 2002-08-06
|
|
* Purpose:
|
|
* Description:
|
|
*
|
|
* This code is part of eCos (tm).
|
|
*
|
|
*####DESCRIPTIONEND####
|
|
*
|
|
*==========================================================================
|
|
*/
|
|
|
|
#ifndef _SERVICES_CRC_CRC_H_
|
|
#define _SERVICES_CRC_CRC_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
#ifndef __externC
|
|
# ifdef __cplusplus
|
|
# define __externC extern "C"
|
|
# else
|
|
# define __externC extern
|
|
# endif
|
|
#endif
|
|
|
|
/* 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);
|
|
|
|
#endif /* _SERVICES_CRC_CRC_H_ */
|