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/gigabeat-s/system-gigabeat-s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/target/arm/imx31/gigabeat-s/system-gigabeat-s.c') diff --git a/firmware/target/arm/imx31/gigabeat-s/system-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/system-gigabeat-s.c index 7c0d30c783..80b6f22397 100644 --- a/firmware/target/arm/imx31/gigabeat-s/system-gigabeat-s.c +++ b/firmware/target/arm/imx31/gigabeat-s/system-gigabeat-s.c @@ -48,7 +48,7 @@ unsigned int iim_prod_rev(void) return product_rev; } -static void iim_init(void) +static void INIT_ATTR iim_init(void) { /* Initialize the IC revision info (required by SDMA) */ ccm_module_clock_gating(CG_IIM, CGM_ON_RUN_WAIT); @@ -136,7 +136,7 @@ void system_exception_wait(void) system_halt(); } -void system_init(void) +void INIT_ATTR system_init(void) { static const int disable_clocks[] = { -- cgit v1.2.3