diff options
author | Pali Rohár <pali@kernel.org> | 2022-04-12 11:20:44 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-21 14:32:40 -0400 |
commit | 467f0c4dc236744f4555ea9356ecd7f9819a9543 (patch) | |
tree | b6cbe06ca61fb437f23cfe830951f8f4a8005fdc /drivers/ddr/microchip/ddr2_regs.h | |
parent | 4f0e77f8f098753bd9835d5a31c435aaab79dd86 (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>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/ddr/microchip/ddr2_regs.h')
0 files changed, 0 insertions, 0 deletions