commit | 7e31637fbc7d1cc9475cab3fd924f44d57bb0b7c | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Tue Apr 12 11:20:44 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue Apr 12 09:55:54 2022 -0400 |
tree | 46352eb298a8cd37ac1f89ea72ce8fa077a91cc7 | |
parent | 568f46f91ce2415409982b5abc1850d11d92a9b7 [diff] |
misc: atsha204a: Remove duplicate CRC-16 implementation ATSHA204A uses bit-reversed checksum of standard CRC-16 with polynomial x^16 + x^15 + x^2 + 1. This ATSHA204A specific checksum can be calculated just by using common U-Boot functions bitrev16() and crc16(). So replace custom driver CRC-16 implementation by common U-Boot functions. Signed-off-by: Pali Rohár <pali@kernel.org>