summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libmad/mad_iram.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-08-04 09:49:56 -0400
committerSolomon Peachy <pizza@shaftnet.org>2022-10-02 11:57:20 -0400
commitd25d24812e8120c0eb133a412287ac030eb185c9 (patch)
treed1c336d5d81c39366672c86f30c484f96e24a469 /lib/rbcodec/codecs/libmad/mad_iram.h
parent9ce5b2a2eda5c7101898476adaa3533e0ba5db82 (diff)
downloadrockbox-d25d24812e8120c0eb133a412287ac030eb185c9.tar.gz
rockbox-d25d24812e8120c0eb133a412287ac030eb185c9.zip
RFC: Get rid of mpegplayer plugin
It might have made sense once upon a time, but in today's world... Change-Id: I5d638e6f7a2308c50ab12bd901338f02cf426aae
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