test/py: add generic CRC32 function
authorLiam Beguin <[email protected]>
Wed, 14 Mar 2018 23:15:15 +0000 (19:15 -0400)
committerTom Rini <[email protected]>
Thu, 22 Mar 2018 17:25:20 +0000 (13:25 -0400)
commitc3342cd58f251f78fe02955c47b51f7bb94e87ba
tree14395d7ceeaddaa6a3b7f787dd013026c328d497
parent64a2cebb6e664ad32757c9507140aa69ad7228d3
test/py: add generic CRC32 function

Add a generic function which can be used to compute the CRC32 value of
a region of RAM.

Signed-off-by: Liam Beguin <[email protected]>
Reviewed-by: Stephen Warren <[email protected]>
test/py/u_boot_utils.py