diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-06-11 14:39:35 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-06-11 14:39:35 +0000 |
commit | 60f843bf181fba3fc509955195ecea786cc002b2 (patch) | |
tree | 31399c08bb3ec25dd98318e6f23bcd2f4a0191d0 /firmware/target/arm/imx31/dvfs_dptc-imx31.c | |
parent | d5a27c2fb1d653bb133a57acacc06b9efdc3ce4c (diff) |
Configure Gigabeat S with EABI compiler by default. Implement the INIT section that this enables (due to selective need for long calls). Remove pcm_postinit from INIT section since it's asynchronous. Disable strict aliasing on SPC codec for now just to shut it up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26779 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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/imx31/dvfs_dptc-imx31.c b/firmware/target/arm/imx31/dvfs_dptc-imx31.c index 129e47d55e..6bacc20c10 100644 --- a/firmware/target/arm/imx31/dvfs_dptc-imx31.c +++ b/firmware/target/arm/imx31/dvfs_dptc-imx31.c @@ -248,7 +248,7 @@ static __attribute__((naked, interrupt("IRQ"))) void CCM_DVFS_HANDLER(void) /* Initialize the DVFS hardware */ -static void dvfs_init(void) +static void INIT_ATTR dvfs_init(void) { if (CCM_PMCR0 & CCM_PMCR0_DVFEN) { @@ -514,7 +514,7 @@ static __attribute__((interrupt("IRQ"))) void CCM_CLK_HANDLER(void) /* Initialize the DPTC hardware */ -static void dptc_init(void) +static void INIT_ATTR dptc_init(void) { /* Force DPTC off if running for some reason. */ imx31_regmod32(&CCM_PMCR0, CCM_PMCR0_PTVAIM, @@ -590,7 +590,7 @@ static void dptc_stop(void) /** Main module interface **/ /* Initialize DVFS and DPTC */ -void dvfs_dptc_init(void) +void INIT_ATTR dvfs_dptc_init(void) { dptc_init(); dvfs_init(); |