diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2022-10-13 11:04:12 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2022-10-13 11:08:11 -0400 |
commit | 9d3d925295112a0080bc1d70fad170db9e1af2a9 (patch) | |
tree | f6fb6244519a9430aa97b303e417fba53799b2f0 /lib/rbcodec/codecs/libmad/mad_iram.h | |
parent | 418169aff8faf2cf90124cd95dba0af821cea73d (diff) | |
download | rockbox-9d3d925295112a0080bc1d70fad170db9e1af2a9.tar.gz rockbox-9d3d925295112a0080bc1d70fad170db9e1af2a9.zip |
Revert "RFC: Get rid of mpegplayer plugin"
This reverts commit d25d24812e8120c0eb133a412287ac030eb185c9.
Change-Id: I1563223e343fb1e2eda72a45823b38350025ff93
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 |