diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2011-08-17 18:41:40 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-29 10:59:34 -0700 |
commit | 7dc03234a1639185490543dde52267eea8289881 (patch) | |
tree | f26d79d1d8f004a7d47aab12a10521deb52ec9be /arch/x86/include | |
parent | 9bb9d053a458323dc1f571c02ad50fafb53a70bb (diff) |
Fix device tree corruption problem.
The problem turned out to be due to inconsistent compile flag
settings when compiling the same include file in different .c
files.
BUG=chromium-os:19263
TEST=manual
Build and run coreboot on Alex. It used to crash before this
change in case gd was located at fixed address, it comes to the
u-boot prompt now.
Change-Id: Ia34284630b865ef715f1f6d0061620f1d6643b7b
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/6206
Reviewed-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/ic/coreboot/sysinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/ic/coreboot/sysinfo.h b/arch/x86/include/asm/ic/coreboot/sysinfo.h index e02735346bd..3b324f5b997 100644 --- a/arch/x86/include/asm/ic/coreboot/sysinfo.h +++ b/arch/x86/include/asm/ic/coreboot/sysinfo.h @@ -30,6 +30,7 @@ #ifndef _COREBOOT_SYSINFO_H #define _COREBOOT_SYSINFO_H +#include <common.h> #include <compiler.h> #include <asm/ic/coreboot/tables.h> #ifdef CONFIG_OF_CONTROL |