summaryrefslogtreecommitdiffstats
path: root/include/crc.h
Commit message (Collapse)AuthorAgeFilesLines
* crc: Add PBL variant for crc_itu_t()Sascha Hauer2019-03-041-0/+16
| | | | | | | Enable crc_itu_t() for PBL. For the PBL use the slower-but-smaller variant without table. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* crc: import crc_itu_t() from kernelSascha Hauer2019-03-041-2/+14
| | | | | | | | Our cyc_crc16() function is the same function as crc_itu_t() in the Linux kernel. Import and use crc_itu_t() from the Kernel for consistency. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* include: move crc specific stuff to crc.hSascha Hauer2016-04-151-94/+8
| | | | | | | We have a crc.h, so move our crc function prototypes there to further cleanup common.h. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* crc16: Make buffer argument constSascha Hauer2015-06-081-1/+1
| | | | | | The buffer is not modified by crc16, so make the argument const. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Some code cleanupWolfgang Denk2006-04-161-70/+69
|
* Add support for ymodem protocol (loady command).Markus Klotzbuecher2006-03-301-0/+101
Patch by Stefano Babic, 29 Mar 2006