Commented out old odd-parity lfs_crc table
We've been linking in this now-unused CRC table when we don't
need to be:
code stack
before: 33976 2824
after: 33856 (-0.4%) 2824 (+0.0%)
The only catch was it's use in lfs_emubd to provide optional checksums
when debugging. But the actual checksum doesn't matter, so this can be
migrated to crc32c.
This commit is contained in:
+5
-5
@@ -179,12 +179,12 @@ int lfs_emubd_sync(const struct lfs_config *cfg);
|
||||
|
||||
/// Additional extended API for driving test features ///
|
||||
|
||||
// A CRC of a block for debugging purposes
|
||||
int lfs_emubd_crc(const struct lfs_config *cfg,
|
||||
lfs_block_t block, uint32_t *crc);
|
||||
// A checksum of a block for debugging purposes
|
||||
int lfs_emubd_cksum(const struct lfs_config *cfg,
|
||||
lfs_block_t block, uint32_t *cksum);
|
||||
|
||||
// A CRC of the entire block device for debugging purposes
|
||||
int lfs_emubd_bdcrc(const struct lfs_config *cfg, uint32_t *crc);
|
||||
// A checksum of the entire block device for debugging purposes
|
||||
int lfs_emubd_bdcksum(const struct lfs_config *cfg, uint32_t *cksum);
|
||||
|
||||
// Get total amount of bytes read
|
||||
lfs_emubd_sio_t lfs_emubd_readed(const struct lfs_config *cfg);
|
||||
|
||||
Reference in New Issue
Block a user