lib: Add crc4 module
Add a little helper for crc4 calculations. This works 4-bits-at-a-time, using a simple table approach. We will need this in the FSI core code, as well as any master implementations that need to calculate CRCs in software. Signed-off-by: NJeremy Kerr <jk@ozlabs.org> Signed-off-by: NChris Bostic <cbostic@linux.vnet.ibm.com> Signed-off-by: NJoel Stanley <joel@jms.id.au> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
include/linux/crc4.h
0 → 100644
lib/crc4.c
0 → 100644
想要评论请 注册 或 登录