summaryrefslogtreecommitdiff
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
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
-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 @@
53 53
54/*define IRAM for targets with 48k/80k IRAM split*/ 54/*define IRAM for targets with 48k/80k IRAM split*/
55#ifndef IBSS_ATTR_WMA_LARGE_IRAM 55#ifndef IBSS_ATTR_WMA_LARGE_IRAM
56#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || defined(CPU_S5L870X) 56#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || defined(CPU_S5L870X) ||
57/* PP5022/24 and MCF5250 have 128KB of IRAM, but only PP5022+ have 80KB allocated for codecs */ 57 (CONFIG_CPU == MCF5250)
58/* PP5022/24, MCF5250 have 128KB of IRAM. 80KB are allocated for codecs */
58#define IBSS_ATTR_WMA_LARGE_IRAM IBSS_ATTR 59#define IBSS_ATTR_WMA_LARGE_IRAM IBSS_ATTR
59#else 60#else
60/* other PP's and MCF5249 have 96KB of IRAM */ 61/* other PP's and MCF5249 have 96KB of IRAM */