mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
Update for issue #761
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
This commit is contained in:
+4
-1
@@ -291,7 +291,10 @@ class Chipset:
|
||||
self.pch_vid = pch_vid
|
||||
self.pch_did = pch_did
|
||||
self.pch_rid = pch_rid
|
||||
data_dict = self.pch_dictionary[self.pch_vid][self.pch_did][0]
|
||||
pch_list = self.pch_dictionary[self.pch_vid][self.pch_did]
|
||||
if len(pch_list) > 1:
|
||||
logger().log("[!] Multiple PCHs contain the same DID. Using first in the list.")
|
||||
data_dict = pch_list[0]
|
||||
self.pch_code = data_dict['code']
|
||||
self.pch_longname = data_dict['longname']
|
||||
_unknown_pch = False
|
||||
|
||||
Reference in New Issue
Block a user