summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/timrot-imx233.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/timrot-imx233.c')
-rw-r--r--firmware/target/arm/imx233/timrot-imx233.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/timrot-imx233.c b/firmware/target/arm/imx233/timrot-imx233.c
index 14b9bdca7b..0ba86c755d 100644
--- a/firmware/target/arm/imx233/timrot-imx233.c
+++ b/firmware/target/arm/imx233/timrot-imx233.c
@@ -55,6 +55,11 @@ void imx233_timrot_setup(unsigned timer_nr, bool reload, unsigned count,
55 restore_interrupt(oldstatus); 55 restore_interrupt(oldstatus);
56} 56}
57 57
58void imx233_timrot_set_priority(unsigned timer_nr, unsigned prio)
59{
60 imx233_icoll_set_priority(INT_SRC_TIMER(timer_nr), prio);
61}
62
58struct imx233_timrot_info_t imx233_timrot_get_info(unsigned timer_nr) 63struct imx233_timrot_info_t imx233_timrot_get_info(unsigned timer_nr)
59{ 64{
60 struct imx233_timrot_info_t info; 65 struct imx233_timrot_info_t info;