diff options
author | Tim Chu <Tim.Chu@quantatw.com> | 2020-11-12 03:15:39 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-11-25 09:18:04 +0000 |
commit | a96eaf870015d65eff3120d4e877febb6862088b (patch) | |
tree | 8bf2e1bb54970c569e0372ab3e7b7168c14f60b9 /src/include/smbios.h | |
parent | f7cdb8e3c6e7c59bb80497887d15c70e2b059804 (diff) |
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 <Tim.Chu@quantatw.com>
Change-Id: I85b37e9cfd22a78544d03e5506ff92b1f2404f8e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47508
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/smbios.h')
-rw-r--r-- | src/include/smbios.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |