From 435e08eae1502f520ce14b279cd2754093e195cb Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Thu, 27 May 2010 12:00:29 +0000 Subject: 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 --- firmware/export/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export/config.h') 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 */ #define IBSS_ATTR #define STATICIRAM static #endif -#if (defined(CPU_PP) || (CONFIG_CPU == AS3525)) \ +#if (defined(CPU_PP) || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2)) \ && !defined(SIMULATOR) && !defined(BOOTLOADER) /* Functions that have INIT_ATTR attached are NOT guaranteed to survive after * root_menu() has been called. Their code may be overwritten by other data or -- cgit v1.2.3