diff --git a/chipsec/chipset.py b/chipsec/chipset.py index 75b7b22d..a539d174 100644 --- a/chipsec/chipset.py +++ b/chipsec/chipset.py @@ -451,12 +451,6 @@ class Chipset: loaded_files = [] - # Locate configuration files from all other XML files recursively (if any) excluding other platform configuration files. - platform_files = [] - for plat in [c.lower() for c in self.chipset_codes]: - platform_files.extend([x for x in _cfg_files if fnmatch.fnmatch(os.path.basename(x), '{}*.xml'.format(plat)) or os.path.basename(x).startswith(PCH_CODE_PREFIX.lower())]) - loaded_files.extend([x for x in _cfg_files if x not in loaded_files and x not in platform_files]) - # Locate platform specific (chipsec/cfg/*.xml) configuration XML files. if self.code and CHIPSET_CODE_UNKNOWN != self.code: for _xml in _cfg_files: