From: Tom Rini Date: Tue, 15 Mar 2016 07:57:58 -0400 Subject: [U-Boot] [U-Boot, 2/3] lib/crc16.c: Rename cyg_crc16() to crc16_ccitt() and add crc start value In-Reply-To: <1456994053-7181-2-git-send-email-sr@denx.de> References: <1456994053-7181-2-git-send-email-sr@denx.de> Message-ID: <20160315115758.GM23166@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Tom Rini 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: