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>
This commit is contained in:
Patrick Georgi 2015-07-07 17:29:43 +02:00 committed by Patrick Georgi
parent 4a45ec43fe
commit 10ef872cdb
1 changed files with 1 additions and 1 deletions

View File

@ -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_type4(&current, handle++));
update_max(len, max_struct_size, smbios_write_type11(&current, &handle)); update_max(len, max_struct_size, smbios_write_type11(&current, &handle));
#if CONFIG_ELOG #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 #endif
update_max(len, max_struct_size, smbios_write_type17(&current, &handle)); update_max(len, max_struct_size, smbios_write_type17(&current, &handle));
update_max(len, max_struct_size, smbios_write_type32(&current, handle++)); update_max(len, max_struct_size, smbios_write_type32(&current, handle++));