diff options
Diffstat (limited to 'include/asm-blackfin/mach-bf537/cdefBF534.h')
-rw-r--r-- | include/asm-blackfin/mach-bf537/cdefBF534.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-blackfin/mach-bf537/cdefBF534.h b/include/asm-blackfin/mach-bf537/cdefBF534.h index 84e58fa73dce..78227bc855df 100644 --- a/include/asm-blackfin/mach-bf537/cdefBF534.h +++ b/include/asm-blackfin/mach-bf537/cdefBF534.h | |||
@@ -32,6 +32,8 @@ | |||
32 | #ifndef _CDEF_BF534_H | 32 | #ifndef _CDEF_BF534_H |
33 | #define _CDEF_BF534_H | 33 | #define _CDEF_BF534_H |
34 | 34 | ||
35 | #include <asm/blackfin.h> | ||
36 | |||
35 | /* Include all Core registers and bit definitions */ | 37 | /* Include all Core registers and bit definitions */ |
36 | #include "defBF534.h" | 38 | #include "defBF534.h" |
37 | 39 | ||
@@ -57,7 +59,7 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val) | |||
57 | bfin_write32(SIC_IWR, IWR_ENABLE(0)); | 59 | bfin_write32(SIC_IWR, IWR_ENABLE(0)); |
58 | 60 | ||
59 | bfin_write16(VR_CTL, val); | 61 | bfin_write16(VR_CTL, val); |
60 | __builtin_bfin_ssync(); | 62 | SSYNC(); |
61 | 63 | ||
62 | local_irq_save(flags); | 64 | local_irq_save(flags); |
63 | asm("IDLE;"); | 65 | asm("IDLE;"); |