summaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2012-10-10 13:12:55 +0000
committerSimon Glass <sjg@chromium.org>2012-11-28 11:40:04 -0800
commitc953fbee540c4c5a13f747a92daa59c24a9aaacf (patch)
tree641070df63a18c942ff7930801eaa7f7b73575e0 /arch/x86/include
parentb16f521a5e87208cebbd17964452e11704416c3f (diff)
downloadu-boot-imx-c953fbee540c4c5a13f747a92daa59c24a9aaacf.zip
u-boot-imx-c953fbee540c4c5a13f747a92daa59c24a9aaacf.tar.gz
u-boot-imx-c953fbee540c4c5a13f747a92daa59c24a9aaacf.tar.bz2
x86: Add some missing includes
I suspect these includes were usually available because something else included them earlier or because they were brought in transitively. Change-Id: I6aae2ac94dc792eac6febb4345e8125f69f70988 Signed-off-by: Gabe Black <gabeblack@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/global_data.h2
-rw-r--r--arch/x86/include/asm/u-boot.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/include/asm/global_data.h
index 59c2a90..b8961ba 100644
--- a/arch/x86/include/asm/global_data.h
+++ b/arch/x86/include/asm/global_data.h
@@ -33,6 +33,8 @@
#ifndef __ASSEMBLY__
+#include <asm/u-boot.h>
+
typedef struct global_data gd_t;
struct global_data {
diff --git a/arch/x86/include/asm/u-boot.h b/arch/x86/include/asm/u-boot.h
index da667c5..2f45c7b 100644
--- a/arch/x86/include/asm/u-boot.h
+++ b/arch/x86/include/asm/u-boot.h
@@ -36,6 +36,9 @@
#ifndef _U_BOOT_H_
#define _U_BOOT_H_ 1
+#include <config.h>
+#include <compiler.h>
+
typedef struct bd_info {
unsigned long bi_memstart; /* start of DRAM memory */
phys_size_t bi_memsize; /* size of DRAM memory in bytes */