mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 19:23:57 +08:00
Blackfin arch: reorganize headers slightly so we can be sure things are defined early enough
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
This commit is contained in:
parent
d5148ffa60
commit
36a1548f99
@ -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_ */
|
||||
|
@ -30,11 +30,9 @@
|
||||
|
||||
#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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -31,6 +31,8 @@
|
||||
#ifndef _CDEF_BF54X_H
|
||||
#define _CDEF_BF54X_H
|
||||
|
||||
#include <asm/blackfin.h>
|
||||
|
||||
#include "defBF54x_base.h"
|
||||
#include <asm/system.h>
|
||||
|
||||
|
@ -31,11 +31,8 @@
|
||||
#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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user