tool: Add error for write locked
Add a new error for the case of trying to flash when security is enabled and it is still locked and update the related docs. Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
committed by
Tim Crawford
parent
54d795480c
commit
70c8678a5f
@@ -11,7 +11,7 @@ enum SecurityState security_get(void) {
|
||||
|
||||
bool security_set(enum SecurityState state) {
|
||||
switch (state) {
|
||||
// Allow perpare states to be set
|
||||
// Allow prepare states to be set
|
||||
case SECURITY_STATE_PREPARE_LOCK:
|
||||
case SECURITY_STATE_PREPARE_UNLOCK:
|
||||
security_state = state;
|
||||
|
Reference in New Issue
Block a user