aboutsummaryrefslogtreecommitdiff
path: root/stm-sdram.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-09-27 16:11:08 -0400
committerRob Austein <sra@hactrn.net>2016-09-27 16:11:08 -0400
commitf7d1bb71b29d2b1b865f6095b31c2bde486b2516 (patch)
treeaa808a867651b78f8e08d4c0bbf05ce51cf0bafd /stm-sdram.c
parent14fbc2167a6d8082e2b549c64e7fa1ebbc64d0fc (diff)
"keystore erase" now clears entire keystore flash.
Now that we're using more than just the first few sectors of the keystore flash, we need a command to clear the whole thing. This is not quite right yet, because it doesn't yet notify libhal's ks_flash driver that the entire content of the flash has been yanked out from under it. In theory, we should be able to erase the entire flash in a single operation using the bulk erase command command (0xC7), but I couldn't get that to do anything (no error reported, no visible effect), so, for now, we erase by sectors.
Diffstat (limited to 'stm-sdram.c')
0 files changed, 0 insertions, 0 deletions