Files
u-boot-sunxi/include
Philipp Tomsich 51c2345bd2 Roll CRC16-CCITT into the hash infrastructure
The CRC16-CCITT checksum function is useful for space-constrained
applications (such as obtaining a checksum across a 2KBit or 4KBit
EEPROM) in boot applications. It has not been accessible from boot
scripts until now (due to not having a dedicated command and not being
supported by the hash infrstructure) limiting its applicability
outside of custom commands.

This adds the CRC16-CCITT (poly 0x1021, init 0x0) algorithm to the
list of available hashes and adds a new crc16_ccitt_wd_buf() to make
this possible.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
[trini: Fix building crc16.o for SPL/TPL]
Signed-off-by: Tom Rini <trini@konsulko.com>
2018-12-08 20:18:44 -05:00
..
2018-12-06 23:26:32 -05:00
2018-11-26 08:25:33 -05:00
2018-11-27 21:06:53 +05:30
2018-11-14 09:16:27 -08:00
2018-09-29 11:49:35 -06:00
2018-10-19 19:19:53 -04:00
2018-09-10 20:48:16 -04:00
2018-09-18 08:12:21 -06:00
2018-12-07 08:13:45 -05:00
2018-12-07 08:13:45 -05:00
2018-11-10 08:16:30 -05:00
2018-07-26 14:08:22 -05:00
2018-09-23 21:55:30 +02:00
2018-09-23 21:55:30 +02:00
2018-06-13 07:49:12 -04:00
2018-12-06 23:26:32 -05:00
2018-12-03 10:44:10 -05:00
2018-10-22 13:01:27 +02:00
2018-12-05 06:01:35 -07:00
2018-10-07 10:47:38 -04:00
2018-09-18 00:01:18 -06:00
2018-10-02 22:12:32 +05:30
2018-10-10 12:29:02 -05:00
2018-10-09 04:40:27 -06:00
2018-10-24 14:45:38 -05:00
2018-12-05 06:06:44 -07:00
2018-10-07 11:04:01 -04:00
2018-07-19 16:31:37 -04:00
2018-11-27 21:06:53 +05:30
2018-12-07 08:13:51 -05:00
2018-07-20 15:55:05 -04:00
2018-10-09 04:40:27 -06:00
2018-09-28 18:26:32 +02:00