diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-10-14 00:01:41 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-10-14 00:01:41 +0000 |
commit | 830531b7d463155018857ca9899e760d72208279 (patch) | |
tree | 59a5804735e7a28881f1525351d9c39a411dfe10 /firmware/target/arm/imx31/dvfs_dptc-imx31.c | |
parent | 0dc76136ca3fcf46b9a9993b75e7e7ed1e76816c (diff) | |
download | rockbox-830531b7d463155018857ca9899e760d72208279.tar.gz rockbox-830531b7d463155018857ca9899e760d72208279.zip |
i.MX31: Simplify nested interrupt handling. Give SVC mode its own stack by grabbing the FIQ stack that's just been taking up space. Just get rid of all FIQ setup since it isn't used anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30747 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31/dvfs_dptc-imx31.c')
-rw-r--r-- | firmware/target/arm/imx31/dvfs_dptc-imx31.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/target/arm/imx31/dvfs_dptc-imx31.c b/firmware/target/arm/imx31/dvfs_dptc-imx31.c index 1c5ad863ce..e8dee17416 100644 --- a/firmware/target/arm/imx31/dvfs_dptc-imx31.c +++ b/firmware/target/arm/imx31/dvfs_dptc-imx31.c | |||
@@ -241,9 +241,7 @@ static void __attribute__((used)) dvfs_int(void) | |||
241 | static __attribute__((naked, interrupt("IRQ"))) void CCM_DVFS_HANDLER(void) | 241 | static __attribute__((naked, interrupt("IRQ"))) void CCM_DVFS_HANDLER(void) |
242 | { | 242 | { |
243 | /* Audio can glitch with the long udelay if nested IRQ isn't allowed. */ | 243 | /* Audio can glitch with the long udelay if nested IRQ isn't allowed. */ |
244 | AVIC_NESTED_NI_CALL_PROLOGUE(INT_PRIO_DVFS, 32*4); | 244 | AVIC_NESTED_NI_CALL(dvfs_int, INT_PRIO_DVFS); |
245 | asm volatile ("bl dvfs_int"); | ||
246 | AVIC_NESTED_NI_CALL_EPILOGUE(32*4); | ||
247 | } | 245 | } |
248 | 246 | ||
249 | /* Initialize the DVFS hardware */ | 247 | /* Initialize the DVFS hardware */ |