mirror of
https://github.com/ARM-software/devlib.git
synced 2025-09-03 10:31:54 +01:00
Cpuinfo: extract CPU featurs from "flags" entry
get_cpu_features() now checks "flags" entry as well as "Features" entries in cpuinfo section.
This commit is contained in:
@@ -860,8 +860,12 @@ class Cpuinfo(object):
|
||||
continue
|
||||
if 'Features' in section:
|
||||
return section.get('Features').split()
|
||||
elif 'flags' in section:
|
||||
return section.get('flags').split()
|
||||
elif 'Features' in section:
|
||||
global_features = section.get('Features').split()
|
||||
elif 'flags' in section:
|
||||
global_features = section.get('flags').split()
|
||||
return global_features
|
||||
|
||||
def parse(self, text):
|
||||
|
Reference in New Issue
Block a user