summaryrefslogtreecommitdiff
path: root/apps/codecs/libmusepack
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-03-07 21:38:42 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-03-07 21:38:42 +0000
commit4ad89fdf6d8b8f2063541ff6753565982330110b (patch)
treef8e89d765cd0487c7e88a414b70ebb2594855463 /apps/codecs/libmusepack
parent0376208a484437cd3690aa3661bb84955c4013b0 (diff)
downloadrockbox-4ad89fdf6d8b8f2063541ff6753565982330110b.zip
rockbox-4ad89fdf6d8b8f2063541ff6753565982330110b.tar.gz
rockbox-4ad89fdf6d8b8f2063541ff6753565982330110b.tar.bz2
rockbox-4ad89fdf6d8b8f2063541ff6753565982330110b.tar.xz
Use more IRAM for musepack on S5L870X CPUs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25064 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmusepack')
-rwxr-xr-xapps/codecs/libmusepack/mpcdec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libmusepack/mpcdec.h b/apps/codecs/libmusepack/mpcdec.h
index a359951..97c0f39 100755
--- a/apps/codecs/libmusepack/mpcdec.h
+++ b/apps/codecs/libmusepack/mpcdec.h
@@ -48,7 +48,7 @@ extern "C" {
#endif
#ifndef IBSS_ATTR_MPC_LARGE_IRAM
-#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || (CONFIG_CPU == MCF5250)
+#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || (CONFIG_CPU == MCF5250) || defined(CPU_S5L870X)
/* PP5022/24 and MCF5250 have 128KB of IRAM */
#define IBSS_ATTR_MPC_LARGE_IRAM IBSS_ATTR
#else
@@ -68,7 +68,7 @@ extern "C" {
#endif
#ifndef ICONST_ATTR_MPC_LARGE_IRAM
-#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || (CONFIG_CPU == MCF5250)
+#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || (CONFIG_CPU == MCF5250) || defined(CPU_S5L870X)
/* PP5022/24 and MCF5250 have 128KB of IRAM */
#define ICONST_ATTR_MPC_LARGE_IRAM ICONST_ATTR
#else