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