From be2fa7744a67436b328c8f5f55569e355a898a03 Mon Sep 17 00:00:00 2001 From: brentholtsclaw Date: Thu, 5 Aug 2021 17:46:38 -0400 Subject: [PATCH] Update CONSISTENCY_CHECKING Signed-off-by: brentholtsclaw --- chipsec/utilcmd/lock_check_cmd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chipsec/utilcmd/lock_check_cmd.py b/chipsec/utilcmd/lock_check_cmd.py index 04ab9bdd..bd0ee4f3 100644 --- a/chipsec/utilcmd/lock_check_cmd.py +++ b/chipsec/utilcmd/lock_check_cmd.py @@ -24,6 +24,7 @@ from argparse import ArgumentParser from chipsec.command import BaseCommand from chipsec.hal.locks import locks, LockResult from chipsec.defines import is_set +from chipsec.chipset import CONSISTENCY_CHECKING class LOCKCHECKCommand(BaseCommand): @@ -142,8 +143,7 @@ KEY: return res def run(self): - self.logger.log("This module works best when CONSISTENCY_CHECKING is turned on") - self.logger.log("To enable CONSISTENCY_CHECKING change the option to True within chipset.py") + CONSISTENCY_CHECKING = True self.logger.set_always_flush(True) try: self._locks = locks(self.cs)