From 60f843bf181fba3fc509955195ecea786cc002b2 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 11 Jun 2010 14:39:35 +0000 Subject: 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 --- firmware/target/arm/imx31/dvfs_dptc-imx31.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'firmware/target/arm/imx31/dvfs_dptc-imx31.c') 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(); -- cgit v1.2.3