commit | 9c842adc177c1bcd22c2038d8d237bfb70654dca | [log] [tgz] |
---|---|---|
author | Ken Sumrall <ksumrall@android.com> | Mon Aug 16 19:17:38 2010 -0700 |
committer | Ken Sumrall <ksumrall@android.com> | Tue Sep 07 14:57:17 2010 -0700 |
tree | 66631ea41a62ef3c7ff7dba471dabcfd6912ab67 | |
parent | 8642b7fba54727a38f751516bcdc452fb09ef610 [diff] |
Add support for IEEE 802.c stylc CRC32 computation to the sparse image tools Add support for computing the CRC32 of the data when we make a sparse image, and storing that CRC in the header. Also update the simg2img tool that reads sparse images to compute the CRC32 as it writes the image, and check to make sure it matches what's in the header. Change-Id: Id49b25bf820acb46ff981f3046fba5b24fd82c8d