From 6f192ddcbd8e13351a8f13365e7c714e7b61a79e Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Fri, 19 Aug 2016 01:23:26 +0200 Subject: 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 Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- include/cpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/cpu.h') diff --git a/include/cpu.h b/include/cpu.h index bda5315..7d4486b 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 */ -- cgit v1.1