From 92bcc4f792ede73b55c95dc461491a126d215e23 Mon Sep 17 00:00:00 2001 From: Morgan Jang Date: Fri, 24 Jul 2020 10:36:18 +0800 Subject: mb/ocp/deltalake: Update SMBIOS type 4 -- Processor Information TEST=Execute "dmidecode -t 4" to check if the processor information is correct for Deltalake platform Change-Id: I5d075bb297f2e71a2545ab6ad82304a825ed7d19 Signed-off-by: Morgan Jang Reviewed-on: https://review.coreboot.org/c/coreboot/+/43789 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks Reviewed-by: Patrick Rudolph Reviewed-by: Angel Pons --- src/mainboard/ocp/deltalake/ramstage.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/mainboard/ocp/deltalake') diff --git a/src/mainboard/ocp/deltalake/ramstage.c b/src/mainboard/ocp/deltalake/ramstage.c index 17f33bd905..69d739f7b2 100644 --- a/src/mainboard/ocp/deltalake/ramstage.c +++ b/src/mainboard/ocp/deltalake/ramstage.c @@ -211,6 +211,16 @@ static int mainboard_smbios_data(struct device *dev, int *handle, unsigned long } #endif +unsigned int smbios_processor_family(struct cpuid_result res) +{ + return 0xb3; /* Xeon */ +} + +unsigned int smbios_processor_characteristics(void) +{ + /* 64-bit Capable, Multi-Core, Power/Performance Control */ + return 0x8c; /* BIT2 + BIT3 + BIT7 */ +} static void mainboard_enable(struct device *dev) { -- cgit v1.2.3