diff options
| author | Pali Rohár <[email protected]> | 2022-04-12 11:20:44 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-04-21 14:32:40 -0400 |
| commit | 467f0c4dc236744f4555ea9356ecd7f9819a9543 (patch) | |
| tree | b6cbe06ca61fb437f23cfe830951f8f4a8005fdc /scripts | |
| 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 <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
