Skip to contentSkip to conversation

Blackfin: fix building after asm-offsets.h intro

PATCH New Mike Frysinger 1 participant 1 message Oct 28, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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).

---
 arch/blackfin/include/asm/config.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/blackfin/include/asm/config.h +3 -0
index 34ca68c..ae61402 100644
@@ -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
Signature · 1 line
1.7.3.2