summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/system-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/coldfire/system-target.h')
-rw-r--r--firmware/target/coldfire/system-target.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/coldfire/system-target.h b/firmware/target/coldfire/system-target.h
index d1a2a1f115..3d7502a6dd 100644
--- a/firmware/target/coldfire/system-target.h
+++ b/firmware/target/coldfire/system-target.h
@@ -201,6 +201,11 @@ static inline uint32_t swap_odd_even32_hw(uint32_t value)
#define DEFAULT_PLLCR_AUDIO_BITS 0x10400000
void coldfire_set_pllcr_audio_bits(long bits);
+/* Safely modify the interrupt mask register as the core interrupt level is
+ required to be at least as high as the level interrupt being
+ masked/unmasked */
+void coldfire_imr_mod(unsigned long bits, unsigned long mask);
+
/* Set DATAINCONTROL without disturbing FIFO reset state */
void coldfire_set_dataincontrol(unsigned long value);