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/gigabeat-s/system-gigabeat-s.c | |
parent | d5a27c2fb1d653bb133a57acacc06b9efdc3ce4c (diff) | |
download | rockbox-60f843bf181fba3fc509955195ecea786cc002b2.tar.gz rockbox-60f843bf181fba3fc509955195ecea786cc002b2.zip |
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/gigabeat-s/system-gigabeat-s.c')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/system-gigabeat-s.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
48 | return product_rev; | 48 | return product_rev; |
49 | } | 49 | } |
50 | 50 | ||
51 | static void iim_init(void) | 51 | static void INIT_ATTR iim_init(void) |
52 | { | 52 | { |
53 | /* Initialize the IC revision info (required by SDMA) */ | 53 | /* Initialize the IC revision info (required by SDMA) */ |
54 | ccm_module_clock_gating(CG_IIM, CGM_ON_RUN_WAIT); | 54 | ccm_module_clock_gating(CG_IIM, CGM_ON_RUN_WAIT); |
@@ -136,7 +136,7 @@ void system_exception_wait(void) | |||
136 | system_halt(); | 136 | system_halt(); |
137 | } | 137 | } |
138 | 138 | ||
139 | void system_init(void) | 139 | void INIT_ATTR system_init(void) |
140 | { | 140 | { |
141 | static const int disable_clocks[] = | 141 | static const int disable_clocks[] = |
142 | { | 142 | { |