diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-07-28 15:50:47 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-08-06 12:55:54 -0400 |
commit | ada091729e8737edc3d455681fda9f745cfd2b63 (patch) | |
tree | d276c52dda109f46f5b9d50deb0fa2f9b605e398 /arch/blackfin/include | |
parent | f5074429621ceb0ec42f8116bd51d02c031faf82 (diff) |
Blackfin: add EVT_OVERRIDE/IPRIO core MMR helpers
These were partially defined, so fill out the def/cdef pieces properly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r-- | arch/blackfin/include/asm/cdef_LPBlackfin.h | 8 | ||||
-rw-r--r-- | arch/blackfin/include/asm/def_LPBlackfin.h | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/arch/blackfin/include/asm/cdef_LPBlackfin.h b/arch/blackfin/include/asm/cdef_LPBlackfin.h index 8778e0f03730..6c39d94b44d0 100644 --- a/arch/blackfin/include/asm/cdef_LPBlackfin.h +++ b/arch/blackfin/include/asm/cdef_LPBlackfin.h | |||
@@ -216,12 +216,16 @@ | |||
216 | #define bfin_write_EVT14(val) bfin_write32(EVT14,val) | 216 | #define bfin_write_EVT14(val) bfin_write32(EVT14,val) |
217 | #define bfin_read_EVT15() bfin_read32(EVT15) | 217 | #define bfin_read_EVT15() bfin_read32(EVT15) |
218 | #define bfin_write_EVT15(val) bfin_write32(EVT15,val) | 218 | #define bfin_write_EVT15(val) bfin_write32(EVT15,val) |
219 | #define bfin_read_EVT_OVERRIDE() bfin_read32(EVT_OVERRIDE) | ||
220 | #define bfin_write_EVT_OVERRIDE(val) bfin_write32(EVT_OVERRIDE,val) | ||
219 | #define bfin_read_IMASK() bfin_read32(IMASK) | 221 | #define bfin_read_IMASK() bfin_read32(IMASK) |
220 | #define bfin_write_IMASK(val) bfin_write32(IMASK,val) | 222 | #define bfin_write_IMASK(val) bfin_write32(IMASK,val) |
221 | #define bfin_read_IPEND() bfin_read32(IPEND) | 223 | #define bfin_read_IPEND() bfin_read32(IPEND) |
222 | #define bfin_write_IPEND(val) bfin_write32(IPEND,val) | 224 | #define bfin_write_IPEND(val) bfin_write32(IPEND,val) |
223 | #define bfin_read_ILAT() bfin_read32(ILAT) | 225 | #define bfin_read_ILAT() bfin_read32(ILAT) |
224 | #define bfin_write_ILAT(val) bfin_write32(ILAT,val) | 226 | #define bfin_write_ILAT(val) bfin_write32(ILAT,val) |
227 | #define bfin_read_IPRIO() bfin_read32(IPRIO) | ||
228 | #define bfin_write_IPRIO(val) bfin_write32(IPRIO,val) | ||
225 | 229 | ||
226 | /*Core Timer Registers*/ | 230 | /*Core Timer Registers*/ |
227 | #define bfin_read_TCNTL() bfin_read32(TCNTL) | 231 | #define bfin_read_TCNTL() bfin_read32(TCNTL) |
@@ -299,8 +303,4 @@ | |||
299 | #define bfin_read_PFCNTR1() bfin_read32(PFCNTR1) | 303 | #define bfin_read_PFCNTR1() bfin_read32(PFCNTR1) |
300 | #define bfin_write_PFCNTR1(val) bfin_write32(PFCNTR1,val) | 304 | #define bfin_write_PFCNTR1(val) bfin_write32(PFCNTR1,val) |
301 | 305 | ||
302 | /* | ||
303 | #define IPRIO 0xFFE02110 | ||
304 | */ | ||
305 | |||
306 | #endif /* _CDEF_LPBLACKFIN_H */ | 306 | #endif /* _CDEF_LPBLACKFIN_H */ |
diff --git a/arch/blackfin/include/asm/def_LPBlackfin.h b/arch/blackfin/include/asm/def_LPBlackfin.h index 4e562850021c..e3f0f4c49819 100644 --- a/arch/blackfin/include/asm/def_LPBlackfin.h +++ b/arch/blackfin/include/asm/def_LPBlackfin.h | |||
@@ -394,6 +394,7 @@ | |||
394 | #define EVT13 0xFFE02034 /* Event Vector 13 ESR Address */ | 394 | #define EVT13 0xFFE02034 /* Event Vector 13 ESR Address */ |
395 | #define EVT14 0xFFE02038 /* Event Vector 14 ESR Address */ | 395 | #define EVT14 0xFFE02038 /* Event Vector 14 ESR Address */ |
396 | #define EVT15 0xFFE0203C /* Event Vector 15 ESR Address */ | 396 | #define EVT15 0xFFE0203C /* Event Vector 15 ESR Address */ |
397 | #define EVT_OVERRIDE 0xFFE02100 /* Event Vector Override Register */ | ||
397 | #define IMASK 0xFFE02104 /* Interrupt Mask Register */ | 398 | #define IMASK 0xFFE02104 /* Interrupt Mask Register */ |
398 | #define IPEND 0xFFE02108 /* Interrupt Pending Register */ | 399 | #define IPEND 0xFFE02108 /* Interrupt Pending Register */ |
399 | #define ILAT 0xFFE0210C /* Interrupt Latch Register */ | 400 | #define ILAT 0xFFE0210C /* Interrupt Latch Register */ |