summaryrefslogtreecommitdiff
path: root/src/arch/x86/smbios.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/smbios.c')
-rw-r--r--src/arch/x86/smbios.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c
index 4c20d52dfd..bd7f4224ec 100644
--- a/src/arch/x86/smbios.c
+++ b/src/arch/x86/smbios.c
@@ -445,8 +445,7 @@ static int get_socket_type(void)
unsigned int __weak smbios_memory_error_correction_type(struct memory_info *meminfo)
{
- return meminfo->ecc_capable ?
- MEMORY_ARRAY_ECC_SINGLE_BIT : MEMORY_ARRAY_ECC_NONE;
+ return meminfo->ecc_type;
}
unsigned int __weak smbios_processor_external_clock(void)