diff options
author | Alexander Graf <agraf@suse.de> | 2016-08-19 01:23:26 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2016-10-19 09:01:51 +0200 |
commit | 6f192ddcbd8e13351a8f13365e7c714e7b61a79e (patch) | |
tree | 7b96d3e0f38df77b1fe6f24220bccd1bf585668f /include | |
parent | e824cf3fb5857ef452bb84018da854328d816514 (diff) | |
download | u-boot-6f192ddcbd8e13351a8f13365e7c714e7b61a79e.tar.gz u-boot-6f192ddcbd8e13351a8f13365e7c714e7b61a79e.tar.bz2 u-boot-6f192ddcbd8e13351a8f13365e7c714e7b61a79e.zip |
cpu: Add DMTF id and family fields
For SMBIOS tables we need to know the CPU family as well as CPU IDs. This
patches allocates some space for them in the cpu device and populates it
on x86.
Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cpu.h b/include/cpu.h index bda53150a6..7d4486bbf3 100644 --- a/include/cpu.h +++ b/include/cpu.h @@ -21,6 +21,8 @@ struct cpu_platdata { int cpu_id; int ucode_version; ulong device_id; + u16 family; /* DMTF CPU Family */ + u32 id[2]; /* DMTF CPU Processor IDs */ }; /* CPU features - mostly just a placeholder for now */ |