Added lfsr_bd_unprog to replace flcksum args

Topologically, this isn't really much of a change. We just moved the
flcksum -> lfs.pcksum and made the internal API a bit better.

But hey, a better internal API at ~no cost is always a good thing:

           code          stack          lfs_t
  before: 33868           2880            212
  after:  33856 (-0.0%)   2880 (+0.0%)    216 (+1.9%)
This commit is contained in:
Christopher Haster
2024-02-25 02:37:01 -06:00
parent ef433f983c
commit 788a9d0129
3 changed files with 100 additions and 74 deletions
+1
View File
@@ -566,6 +566,7 @@ typedef struct lfsr_mtree {
typedef struct lfs {
lfs_cache_t rcache;
lfs_cache_t pcache;
uint32_t pcksum;
lfs_block_t root[2];
struct lfs_mlist {