diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2015-07-07 17:29:43 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-07-07 19:07:08 +0200 |
commit | 10ef872cdb2133f4910895605204fc0e1e21d160 (patch) | |
tree | 538e5ba99a129ece18595d2cb969474b2959b357 /src/arch | |
parent | 4a45ec43fe73080517fa6f7cad6fa682ad49ecc4 (diff) | |
download | coreboot-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.c | 2 |
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(¤t, handle++)); update_max(len, max_struct_size, smbios_write_type11(¤t, &handle)); #if CONFIG_ELOG - update_max(len, max_struct_size, smbios_write_type15(¤t, &handle)); + update_max(len, max_struct_size, elog_smbios_write_type15(¤t, handle++)); #endif update_max(len, max_struct_size, smbios_write_type17(¤t, &handle)); update_max(len, max_struct_size, smbios_write_type32(¤t, handle++)); |