summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-27 21:10:58 -0400
committerMike Frysinger <vapier@gentoo.org>2010-10-27 21:10:58 -0400
commit1fde3eb2d3f9a46c1dbd2e936ba6e4e6a82add3f (patch)
tree3d0870fac0bc4785ab2e20d42a63ef22b524158c
parent908614f20f7f0f5df736eed21b88e81ebbf14e86 (diff)
downloadu-boot-imx-1fde3eb2d3f9a46c1dbd2e936ba6e4e6a82add3f.zip
u-boot-imx-1fde3eb2d3f9a46c1dbd2e936ba6e4e6a82add3f.tar.gz
u-boot-imx-1fde3eb2d3f9a46c1dbd2e936ba6e4e6a82add3f.tar.bz2
Blackfin: fix building after asm-offsets.h intro
Since some of the defines in our config.h use the generated defines, we need to include the generated header. This fixes building of the Blackfin start.S file (where the stack is setup). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--arch/blackfin/include/asm/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/config.h b/arch/blackfin/include/asm/config.h
index 34ca68c..ae61402 100644
--- a/arch/blackfin/include/asm/config.h
+++ b/arch/blackfin/include/asm/config.h
@@ -9,6 +9,9 @@
#ifndef __ASM_BLACKFIN_CONFIG_POST_H__
#define __ASM_BLACKFIN_CONFIG_POST_H__
+/* Some of our defines use this (like CONFIG_SYS_GBL_DATA_ADDR) */
+#include <asm-offsets.h>
+
#ifndef CONFIG_BFIN_SCRATCH_REG
# define CONFIG_BFIN_SCRATCH_REG retn
#endif