diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-27 12:00:29 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-27 12:00:29 +0000 |
commit | 435e08eae1502f520ce14b279cd2754093e195cb (patch) | |
tree | c34e4e445f87056b64a880c63af1c70b79f531e8 /firmware/export/config.h | |
parent | b36e721aa66e20595eb4441edaaddac76f8d5147 (diff) | |
download | rockbox-435e08eae1502f520ce14b279cd2754093e195cb.tar.gz rockbox-435e08eae1502f520ce14b279cd2754093e195cb.zip |
mark some functions as init functions (discarded after init() has run)
tick_start, fmradio_i2c_init, pcm_init, pcm_postinit, pcm_play_dma_init
Also add some as3525 target specific functions
Make as3525v2 use this attribute
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26328 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 38eb696515..0ed1be4157 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -753,7 +753,7 @@ Lyre prototype 1 */ | |||
753 | #define IBSS_ATTR | 753 | #define IBSS_ATTR |
754 | #define STATICIRAM static | 754 | #define STATICIRAM static |
755 | #endif | 755 | #endif |
756 | #if (defined(CPU_PP) || (CONFIG_CPU == AS3525)) \ | 756 | #if (defined(CPU_PP) || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2)) \ |
757 | && !defined(SIMULATOR) && !defined(BOOTLOADER) | 757 | && !defined(SIMULATOR) && !defined(BOOTLOADER) |
758 | /* Functions that have INIT_ATTR attached are NOT guaranteed to survive after | 758 | /* Functions that have INIT_ATTR attached are NOT guaranteed to survive after |
759 | * root_menu() has been called. Their code may be overwritten by other data or | 759 | * root_menu() has been called. Their code may be overwritten by other data or |