From a96eaf870015d65eff3120d4e877febb6862088b Mon Sep 17 00:00:00 2001 From: Tim Chu Date: Thu, 12 Nov 2020 03:15:39 -0800 Subject: arch/x86/smbios: Update SMBIOS type 16 error correction type Add weak function for SMBIOS type 16 error correction type. Tested=Execute "dmidecode -t 16" to check if error correction type is correct. Signed-off-by: Tim Chu Change-Id: I85b37e9cfd22a78544d03e5506ff92b1f2404f8e Reviewed-on: https://review.coreboot.org/c/coreboot/+/47508 Reviewed-by: Patrick Georgi Reviewed-by: Jonathan Zhang Tested-by: build bot (Jenkins) --- src/include/smbios.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/smbios.h') diff --git a/src/include/smbios.h b/src/include/smbios.h index 4ddf4384dc..e451d17ef8 100644 --- a/src/include/smbios.h +++ b/src/include/smbios.h @@ -57,6 +57,7 @@ const char *smbios_processor_serial_number(void); void smbios_ec_revision(uint8_t *ec_major_revision, uint8_t *ec_minor_revision); +unsigned int smbios_memory_error_correction_type(struct memory_info *meminfo); unsigned int smbios_processor_external_clock(void); unsigned int smbios_processor_characteristics(void); struct cpuid_result; -- cgit v1.2.3