summaryrefslogtreecommitdiff
path: root/flash_otp_write.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2015-08-27 15:03:21 -0700
committerBrian Norris <computersforpeace@gmail.com>2015-11-11 14:05:36 -0800
commit27f481e9bca1f13781eb197b7362f2ce97c0220a (patch)
treee6fe7fb22a870474e574eeec4d4dd41c19a97a18 /flash_otp_write.c
parenta21f42860f739653deb886a46c8fb6cbb9302e83 (diff)
flash_{un,}lock: support both lock/unlock in the same binary
Add new --lock/--unlock flags, so we can do either with the same binary. This will prepare for the addition of other features, so we don't have to keep duplicating the same binary via #include "flash_unlock.c". The defaults still work as expected: flash_unlock will default to REQUEST_UNLOCK, and flash_lock will default to REQUEST_LOCK. Eventually, we might deprecate one of the two (flash_unlock, probably), so we only have to ship one flash_{un,}lock binary. Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'flash_otp_write.c')
0 files changed, 0 insertions, 0 deletions