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/export | |
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/export')
-rw-r--r-- | firmware/export/config.h | 3 | ||||
-rw-r--r-- | firmware/export/pcm.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 24e258d3af..0e9df895c5 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -778,7 +778,8 @@ Lyre prototype 1 */ | |||
778 | #define IBSS_ATTR | 778 | #define IBSS_ATTR |
779 | #define STATICIRAM static | 779 | #define STATICIRAM static |
780 | #endif | 780 | #endif |
781 | #if (defined(CPU_PP) || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2)) \ | 781 | #if (defined(CPU_PP) || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2) || \ |
782 | (CONFIG_CPU == IMX31L)) \ | ||
782 | && !defined(SIMULATOR) && !defined(BOOTLOADER) | 783 | && !defined(SIMULATOR) && !defined(BOOTLOADER) |
783 | /* Functions that have INIT_ATTR attached are NOT guaranteed to survive after | 784 | /* Functions that have INIT_ATTR attached are NOT guaranteed to survive after |
784 | * root_menu() has been called. Their code may be overwritten by other data or | 785 | * root_menu() has been called. Their code may be overwritten by other data or |
diff --git a/firmware/export/pcm.h b/firmware/export/pcm.h index 304f120059..02fa04cb7e 100644 --- a/firmware/export/pcm.h +++ b/firmware/export/pcm.h | |||
@@ -68,7 +68,7 @@ void pcm_play_lock(void); | |||
68 | void pcm_play_unlock(void); | 68 | void pcm_play_unlock(void); |
69 | 69 | ||
70 | void pcm_init(void) INIT_ATTR; | 70 | void pcm_init(void) INIT_ATTR; |
71 | void pcm_postinit(void) INIT_ATTR; | 71 | void pcm_postinit(void); |
72 | 72 | ||
73 | /* This is for playing "raw" PCM data */ | 73 | /* This is for playing "raw" PCM data */ |
74 | void pcm_play_data(pcm_play_callback_type get_more, | 74 | void pcm_play_data(pcm_play_callback_type get_more, |