diff options
| author | Alexander Graf <[email protected]> | 2016-08-19 01:23:28 +0200 |
|---|---|---|
| committer | Alexander Graf <[email protected]> | 2016-10-19 09:01:52 +0200 |
| commit | 96476206c54ee9c94e5994d96f52ec9d2063967a (patch) | |
| tree | d666c398f68ffdf4035c27466f999f044eb8ff43 /include | |
| parent | 94eaa79cecf98300974c99d935ff653c9418de21 (diff) | |
smbios: Generate type 4 on non-x86 systems
The type 4 table generation code is very x86 centric today. Refactor things
out into the device model cpu class to allow the tables to get generated for
other architectures as well.
Signed-off-by: Alexander Graf <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/smbios.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/smbios.h b/include/smbios.h index 5962d4ca2b0..3cbc6876047 100644 --- a/include/smbios.h +++ b/include/smbios.h @@ -139,6 +139,9 @@ struct __packed smbios_type3 { #define SMBIOS_PROCESSOR_STATUS_ENABLED 1 #define SMBIOS_PROCESSOR_UPGRADE_NONE 6 +#define SMBIOS_PROCESSOR_FAMILY_OTHER 1 +#define SMBIOS_PROCESSOR_FAMILY_UNKNOWN 2 + struct __packed smbios_type4 { u8 type; u8 length; |
