mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
x86: Correct a build warning in x86 tables
There is a build warning for three x86 boards since
write_smbios_table_wrapper() is not used. Fix it.
Fixes: e824cf3f
(smbios: Allow compilation on 64bit systems)
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:

committed by
Alexander Graf

parent
5be8b0a338
commit
1f3f0357aa
@ -12,10 +12,12 @@
|
|||||||
#include <asm/acpi_table.h>
|
#include <asm/acpi_table.h>
|
||||||
#include <asm/coreboot_tables.h>
|
#include <asm/coreboot_tables.h>
|
||||||
|
|
||||||
|
#ifdef CONFIG_GENERATE_SMBIOS_TABLE
|
||||||
static u32 write_smbios_table_wrapper(u32 addr)
|
static u32 write_smbios_table_wrapper(u32 addr)
|
||||||
{
|
{
|
||||||
return write_smbios_table(addr);
|
return write_smbios_table(addr);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function prototype to write a specific configuration table
|
* Function prototype to write a specific configuration table
|
||||||
|
Reference in New Issue
Block a user