summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2016-05-07 07:46:11 -0700
committerBin Meng <bmeng.cn@gmail.com>2016-05-23 15:18:00 +0800
commit5cb0f0dc88f816a08003a06cef8bd5310425e573 (patch)
tree59b9916c94e4eb0d155d81e18368a6ff2d768ee6 /arch/x86
parentb6524477df87eeec436d01dd361017468c7f915f (diff)
downloadu-boot-imx-5cb0f0dc88f816a08003a06cef8bd5310425e573.zip
u-boot-imx-5cb0f0dc88f816a08003a06cef8bd5310425e573.tar.gz
u-boot-imx-5cb0f0dc88f816a08003a06cef8bd5310425e573.tar.bz2
x86: Fix build warning in tables.c when CONFIG_SEABIOS
The following build warning is seen in tables.c: warning: implicit declaration of function 'memalign' Add the missing header file to fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/lib/tables.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c
index a156f2c..1213a9c 100644
--- a/arch/x86/lib/tables.c
+++ b/arch/x86/lib/tables.c
@@ -5,6 +5,7 @@
*/
#include <common.h>
+#include <malloc.h>
#include <asm/sfi.h>
#include <asm/mpspec.h>
#include <asm/smbios.h>