aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test/test_mkmif.h
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-11-01 12:17:44 -0400
committerRob Austein <sra@hactrn.net>2016-11-01 12:17:44 -0400
commitfd3a9b8f032d5a696d0c7e283fdd2f7f0771306e (patch)
tree543c358baf4e5afafff53691c4aab0c9043b5683 /projects/cli-test/test_mkmif.h
parent002f019f8c6db7e3e8a2f1517de7693878f975be (diff)
Don't return from flash write calls until WIP flag clears.
Absence of this check created a nasty race condition in sw/libhal/ks_flash.c, which didn't show up until we had test code which attempted to delete a long series of keys in quick succession. I'm not aware of any sane reason why we would ever want to skip this check, so it's unconditional and applies to all of the SPI flash code, not just the keystore flash code.
Diffstat (limited to 'projects/cli-test/test_mkmif.h')
0 files changed, 0 insertions, 0 deletions