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/kernel-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/kernel-gigabeat-s.c')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/kernel-gigabeat-s.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/kernel-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/kernel-gigabeat-s.c index bece976ab9..79f3eccc6b 100644 --- a/firmware/target/arm/imx31/gigabeat-s/kernel-gigabeat-s.c +++ b/firmware/target/arm/imx31/gigabeat-s/kernel-gigabeat-s.c | |||
@@ -37,7 +37,7 @@ static __attribute__((interrupt("IRQ"))) void EPIT1_HANDLER(void) | |||
37 | call_tick_tasks(); | 37 | call_tick_tasks(); |
38 | } | 38 | } |
39 | 39 | ||
40 | void tick_start(unsigned int interval_in_ms) | 40 | void INIT_ATTR tick_start(unsigned int interval_in_ms) |
41 | { | 41 | { |
42 | ccm_module_clock_gating(CG_EPIT1, CGM_ON_RUN_WAIT); /* EPIT1 module | 42 | ccm_module_clock_gating(CG_EPIT1, CGM_ON_RUN_WAIT); /* EPIT1 module |
43 | clock ON - before writing | 43 | clock ON - before writing |
@@ -65,7 +65,7 @@ void tick_start(unsigned int interval_in_ms) | |||
65 | EPITCR1 |= EPITCR_EN; /* Enable the counter */ | 65 | EPITCR1 |= EPITCR_EN; /* Enable the counter */ |
66 | } | 66 | } |
67 | 67 | ||
68 | void kernel_device_init(void) | 68 | void INIT_ATTR kernel_device_init(void) |
69 | { | 69 | { |
70 | sdma_init(); | 70 | sdma_init(); |
71 | spi_init(); | 71 | spi_init(); |