summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libwma/wmadec.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-03-07 20:35:21 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-03-07 20:35:21 +0000
commit3200c77df5581c8c485d428d960bfa81c290c697 (patch)
tree7260ed6103bccea917dd0142f05b9ae40b64f0e5 /apps/codecs/libwma/wmadec.h
parent260c0184de30b0f71288548686270126577db5f8 (diff)
downloadrockbox-3200c77df5581c8c485d428d960bfa81c290c697.tar.gz
rockbox-3200c77df5581c8c485d428d960bfa81c290c697.zip
Move WMA decoder array to IRAM on M5/X5 for better performance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25058 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwma/wmadec.h')
-rw-r--r--apps/codecs/libwma/wmadec.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/codecs/libwma/wmadec.h b/apps/codecs/libwma/wmadec.h
index 4efaa9b8a2..39ad653c29 100644
--- a/apps/codecs/libwma/wmadec.h
+++ b/apps/codecs/libwma/wmadec.h
@@ -53,8 +53,9 @@
/*define IRAM for targets with 48k/80k IRAM split*/
#ifndef IBSS_ATTR_WMA_LARGE_IRAM
-#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || defined(CPU_S5L870X)
-/* PP5022/24 and MCF5250 have 128KB of IRAM, but only PP5022+ have 80KB allocated for codecs */
+#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || defined(CPU_S5L870X) ||
+ (CONFIG_CPU == MCF5250)
+/* PP5022/24, MCF5250 have 128KB of IRAM. 80KB are allocated for codecs */
#define IBSS_ATTR_WMA_LARGE_IRAM IBSS_ATTR
#else
/* other PP's and MCF5249 have 96KB of IRAM */