[U-Boot] [U-Boot, 2/3] lib/crc16.c: Rename cyg_crc16() to crc16_ccitt() and add crc start value
Tom Rini
trini at konsulko.com
Tue Mar 15 12:57:58 CET 2016
On Thu, Mar 03, 2016 at 09:34:12AM +0100, Stefan Roese wrote:
> The original name of this function is unclear. This patch renames this
> CRC16 function to crc16_ccitt() matching its name with its
> implementation.
>
> To make the usage of this function more flexible, lets add the CRC start
> value as parameter to this function. This way it can be used by other
> functions requiring different start values than 0 as well.
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Reviewed-by: Tom Rini <trini at konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160315/866469b6/attachment.sig>
More information about the U-Boot
mailing list