]> err.no Git - linux-2.6/commitdiff
Blackfin arch: reorganize headers slightly so we can be sure things are defined early...
authorMike Frysinger <michael.frysinger@analog.com>
Wed, 25 Jul 2007 04:01:19 +0000 (12:01 +0800)
committerBryan Wu <bryan.wu@analog.com>
Wed, 25 Jul 2007 04:01:19 +0000 (12:01 +0800)
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
include/asm-blackfin/blackfin.h
include/asm-blackfin/mach-bf533/cdefBF532.h
include/asm-blackfin/mach-bf537/cdefBF534.h
include/asm-blackfin/mach-bf548/cdefBF54x_base.h
include/asm-blackfin/mach-bf561/cdefBF561.h

index 1b2dd5a3fe7a258c03283e423a898e64da17649c..5ecf0aa223470d0087869d670d88e35a882ab58c 100644 (file)
@@ -11,8 +11,7 @@
 #define HI(con32) (((con32) >> 16) & 0xFFFF)
 #define hi(con32) (((con32) >> 16) & 0xFFFF)
 
-#include <asm/mach/blackfin.h>
-#include <asm/bfin-global.h>
+#include <asm/mach/anomaly.h>
 
 #ifndef __ASSEMBLY__
 
@@ -105,4 +104,7 @@ static inline void CSYNC(void)
 
 #endif /* __ASSEMBLY__ */
 
+#include <asm/mach/blackfin.h>
+#include <asm/bfin-global.h>
+
 #endif                         /* _BLACKFIN_H_ */
index 67a6dc49c521f77fb426e58afd7d8c84e427aefe..40c1ad39dcab8d7ed500ec2017f33b275635398b 100644 (file)
 
 #ifndef _CDEF_BF532_H
 #define _CDEF_BF532_H
-/*
-#if !defined(__ADSPLPBLACKFIN__)
-#warning cdefBF532.h should only be included for 532 compatible chips.
-#endif
-*/
+
+#include <asm/blackfin.h>
+
 /*include all Core registers and bit definitions*/
 #include "defBF532.h"
 
index 5dab41fb9c752ce0489d8703201e2cb84172340a..78227bc855df54bca56220dc55d777fec0e6a04a 100644 (file)
@@ -32,6 +32,8 @@
 #ifndef _CDEF_BF534_H
 #define _CDEF_BF534_H
 
+#include <asm/blackfin.h>
+
 /* Include all Core registers and bit definitions                                                                      */
 #include "defBF534.h"
 
index 10475bbfc7dd86c3fe2230785faf00125c19cec6..aefab3f618c1ef31834c05ae386200ee35fd1af0 100644 (file)
@@ -31,6 +31,8 @@
 #ifndef _CDEF_BF54X_H
 #define _CDEF_BF54X_H
 
+#include <asm/blackfin.h>
+
 #include "defBF54x_base.h"
 #include <asm/system.h>
 
index 2efcd2c663ab5b982de642cae3c2ddda8de6eb72..d667816486c095cfe162b143e4c7ff68449a5a21 100644 (file)
 #ifndef _CDEF_BF561_H
 #define _CDEF_BF561_H
 
-/*
-#if !defined(__ADSPBF561__)
-#warning cdefBF561.h should only be included for BF561 chip.
-#endif
-*/
+#include <asm/blackfin.h>
+
 /* include all Core registers and bit definitions */
 #include "defBF561.h"