Home
last modified time | relevance | path

Searched hist:ecb57f69 (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/lib/
H A Dcrc16.cecb57f69 Thu Mar 03 02:34:12 CST 2016 Stefan Roese <sr@denx.de> lib/crc16.c: Rename cyg_crc16() to crc16_ccitt() and add crc start value

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@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
/openbmc/u-boot/drivers/mmc/
H A Dmmc_spi.cecb57f69 Thu Mar 03 02:34:12 CST 2016 Stefan Roese <sr@denx.de> lib/crc16.c: Rename cyg_crc16() to crc16_ccitt() and add crc start value

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@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
/openbmc/u-boot/common/
H A DxyzModem.cecb57f69 Thu Mar 03 02:34:12 CST 2016 Stefan Roese <sr@denx.de> lib/crc16.c: Rename cyg_crc16() to crc16_ccitt() and add crc start value

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@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>