summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-07-07 17:29:43 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-07-07 19:07:08 +0200
commit10ef872cdb2133f4910895605204fc0e1e21d160 (patch)
tree538e5ba99a129ece18595d2cb969474b2959b357 /src/arch
parent4a45ec43fe73080517fa6f7cad6fa682ad49ecc4 (diff)
downloadcoreboot-10ef872cdb2133f4910895605204fc0e1e21d160.tar.xz
smbios: fix copy&paste error
While extending the SMBIOS code to write a proper maximum structure size, the call to elog_smbios_write_type15() was botched. Fix the name and arguments. Change-Id: I4c93490b09ddf4da240ff8f2bd8f8cc3f2abd96e Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/10823 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/boot/smbios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/boot/smbios.c b/src/arch/x86/boot/smbios.c
index fc5ac6634f..a1f05daeaf 100644
--- a/src/arch/x86/boot/smbios.c
+++ b/src/arch/x86/boot/smbios.c
@@ -553,7 +553,7 @@ unsigned long smbios_write_tables(unsigned long current)
update_max(len, max_struct_size, smbios_write_type4(&current, handle++));
update_max(len, max_struct_size, smbios_write_type11(&current, &handle));
#if CONFIG_ELOG
- update_max(len, max_struct_size, smbios_write_type15(&current, &handle));
+ update_max(len, max_struct_size, elog_smbios_write_type15(&current, handle++));
#endif
update_max(len, max_struct_size, smbios_write_type17(&current, &handle));
update_max(len, max_struct_size, smbios_write_type32(&current, handle++));