Skip to content

Commit

Permalink
Make sure DID/VID is printed when platform is unknown
Browse files Browse the repository at this point in the history
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
  • Loading branch information
npmitche committed Nov 6, 2023
1 parent 9f13a48 commit 5029ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chipsec/chipset.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def init(self, platform_code, req_pch_code, helper_name=None, start_helper=True,
if load_config:
if not ignore_platform:
self.Cfg.platform_detection(platform_code, req_pch_code, self.cpuid)
_unknown_proc = self.Cfg.get_chipset_code() is None
_unknown_proc = not bool(self.Cfg.get_chipset_code())
if self.Cfg.is_pch_req() == False or self.Cfg.get_pch_code() != CHIPSET_CODE_UNKNOWN:
_unknown_pch = False
if _unknown_proc:
Expand Down

0 comments on commit 5029ee2

Please sign in to comment.