mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
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
This commit is contained in:
parent
d5a27c2fb1
commit
60f843bf18
17 changed files with 50 additions and 43 deletions
|
|
@ -37,7 +37,7 @@ static __attribute__((interrupt("IRQ"))) void EPIT1_HANDLER(void)
|
|||
call_tick_tasks();
|
||||
}
|
||||
|
||||
void tick_start(unsigned int interval_in_ms)
|
||||
void INIT_ATTR tick_start(unsigned int interval_in_ms)
|
||||
{
|
||||
ccm_module_clock_gating(CG_EPIT1, CGM_ON_RUN_WAIT); /* EPIT1 module
|
||||
clock ON - before writing
|
||||
|
|
@ -65,7 +65,7 @@ void tick_start(unsigned int interval_in_ms)
|
|||
EPITCR1 |= EPITCR_EN; /* Enable the counter */
|
||||
}
|
||||
|
||||
void kernel_device_init(void)
|
||||
void INIT_ATTR kernel_device_init(void)
|
||||
{
|
||||
sdma_init();
|
||||
spi_init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue