diff options
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/libmad/mad_iram.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/codecs/libmad/mad_iram.h b/apps/codecs/libmad/mad_iram.h index 92abf62416..ac0b64cca9 100644 --- a/apps/codecs/libmad/mad_iram.h +++ b/apps/codecs/libmad/mad_iram.h | |||
@@ -29,6 +29,12 @@ | |||
29 | 29 | ||
30 | #include "config.h" | 30 | #include "config.h" |
31 | 31 | ||
32 | #if (CONFIG_PLATFORM&PLATFORM_HOSTED) | ||
33 | #define ICODE_SECTION_MPA_ARM .text | ||
34 | #define IBSS_SECTION_MPA_ARM .bss | ||
35 | #define ICODE_ATTR_MPA_SYNTH | ||
36 | #define ICONST_ATTR_MPA_HUFFMAN | ||
37 | #else | ||
32 | /* Code performs slower in IRAM on PP502x and there is no space in | 38 | /* Code performs slower in IRAM on PP502x and there is no space in |
33 | mpegplayer on the PP5002. S3C2440 doesn't have any IRAM available for | 39 | mpegplayer on the PP5002. S3C2440 doesn't have any IRAM available for |
34 | codecs */ | 40 | codecs */ |
@@ -46,4 +52,6 @@ | |||
46 | #define ICONST_ATTR_MPA_HUFFMAN ICONST_ATTR | 52 | #define ICONST_ATTR_MPA_HUFFMAN ICONST_ATTR |
47 | #endif | 53 | #endif |
48 | 54 | ||
55 | #endif | ||
56 | |||
49 | #endif /* MAD_IRAM_H */ | 57 | #endif /* MAD_IRAM_H */ |