]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/glsdk-u-boot.git/commitdiff
x86: Add some missing includes
authorGabe Black <gabeblack@chromium.org>
Wed, 10 Oct 2012 13:12:55 +0000 (13:12 +0000)
committerSimon Glass <sjg@chromium.org>
Wed, 28 Nov 2012 19:40:04 +0000 (11:40 -0800)
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>
arch/x86/include/asm/global_data.h
arch/x86/include/asm/u-boot.h

index 59c2a9095bd662c579b41030418f54ca6b6e7e7c..b8961baaebbe87242e5f90244f2930a56d936982 100644 (file)
@@ -33,6 +33,8 @@
 
 #ifndef __ASSEMBLY__
 
+#include <asm/u-boot.h>
+
 typedef struct global_data gd_t;
 
 struct global_data {
index da667c50a498c1bad8c29f7134175598be891429..2f45c7b3d749fada710dc8f7605f58f169c25d41 100644 (file)
@@ -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 */