diff options
Diffstat (limited to 'lib/rbcodec/codecs/libmad/mad_iram.h')
-rw-r--r-- | lib/rbcodec/codecs/libmad/mad_iram.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/rbcodec/codecs/libmad/mad_iram.h b/lib/rbcodec/codecs/libmad/mad_iram.h index 5a315c0381..ac0b64cca9 100644 --- a/lib/rbcodec/codecs/libmad/mad_iram.h +++ b/lib/rbcodec/codecs/libmad/mad_iram.h | |||
@@ -35,9 +35,10 @@ | |||
35 | #define ICODE_ATTR_MPA_SYNTH | 35 | #define ICODE_ATTR_MPA_SYNTH |
36 | #define ICONST_ATTR_MPA_HUFFMAN | 36 | #define ICONST_ATTR_MPA_HUFFMAN |
37 | #else | 37 | #else |
38 | /* Code performs slower in IRAM on PP502x | 38 | /* Code performs slower in IRAM on PP502x and there is no space in |
39 | S3C2440 doesn't have any IRAM available for codecs */ | 39 | mpegplayer on the PP5002. S3C2440 doesn't have any IRAM available for |
40 | #if defined(CPU_PP502x) | 40 | codecs */ |
41 | #if defined(CPU_PP502x) || (CONFIG_CPU == PP5002 && defined(MPEGPLAYER)) | ||
41 | #define ICODE_SECTION_MPA_ARM .text | 42 | #define ICODE_SECTION_MPA_ARM .text |
42 | #define ICODE_ATTR_MPA_SYNTH | 43 | #define ICODE_ATTR_MPA_SYNTH |
43 | #else | 44 | #else |