diff options
author | Simon Glass <sjg@chromium.org> | 2016-11-07 08:47:03 -0700 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2016-11-14 23:24:03 +0100 |
commit | 1f3f0357aa79212e06fadf2149a85e0fa435a8eb (patch) | |
tree | 33de5afce2599e721fcc9d591bfa720ab49adcd1 /arch/x86/lib/tables.c | |
parent | 5be8b0a338c56c606d1e615c181b1cc0545b4747 (diff) | |
download | u-boot-imx-1f3f0357aa79212e06fadf2149a85e0fa435a8eb.zip u-boot-imx-1f3f0357aa79212e06fadf2149a85e0fa435a8eb.tar.gz u-boot-imx-1f3f0357aa79212e06fadf2149a85e0fa435a8eb.tar.bz2 |
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>
Diffstat (limited to 'arch/x86/lib/tables.c')
-rw-r--r-- | arch/x86/lib/tables.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c index 025b183..5966e58 100644 --- a/arch/x86/lib/tables.c +++ b/arch/x86/lib/tables.c @@ -12,10 +12,12 @@ #include <asm/acpi_table.h> #include <asm/coreboot_tables.h> +#ifdef CONFIG_GENERATE_SMBIOS_TABLE static u32 write_smbios_table_wrapper(u32 addr) { return write_smbios_table(addr); } +#endif /** * Function prototype to write a specific configuration table |