diff options
Diffstat (limited to 'include/asm-blackfin/mach-bf561/cdefBF561.h')
-rw-r--r-- | include/asm-blackfin/mach-bf561/cdefBF561.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/asm-blackfin/mach-bf561/cdefBF561.h b/include/asm-blackfin/mach-bf561/cdefBF561.h index 73d4d65249cd..d667816486c0 100644 --- a/include/asm-blackfin/mach-bf561/cdefBF561.h +++ b/include/asm-blackfin/mach-bf561/cdefBF561.h | |||
@@ -31,11 +31,8 @@ | |||
31 | #ifndef _CDEF_BF561_H | 31 | #ifndef _CDEF_BF561_H |
32 | #define _CDEF_BF561_H | 32 | #define _CDEF_BF561_H |
33 | 33 | ||
34 | /* | 34 | #include <asm/blackfin.h> |
35 | #if !defined(__ADSPBF561__) | 35 | |
36 | #warning cdefBF561.h should only be included for BF561 chip. | ||
37 | #endif | ||
38 | */ | ||
39 | /* include all Core registers and bit definitions */ | 36 | /* include all Core registers and bit definitions */ |
40 | #include "defBF561.h" | 37 | #include "defBF561.h" |
41 | 38 | ||
@@ -67,7 +64,7 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val) | |||
67 | bfin_write32(SICA_IWR1, 0); | 64 | bfin_write32(SICA_IWR1, 0); |
68 | 65 | ||
69 | bfin_write16(VR_CTL, val); | 66 | bfin_write16(VR_CTL, val); |
70 | __builtin_bfin_ssync(); | 67 | SSYNC(); |
71 | 68 | ||
72 | local_irq_save(flags); | 69 | local_irq_save(flags); |
73 | asm("IDLE;"); | 70 | asm("IDLE;"); |