From 75db67324bed62e4dcf5d540bea4d87012c40057 Mon Sep 17 00:00:00 2001 From: Buschel Date: Sun, 7 Mar 2010 20:35:21 +0000 Subject: [PATCH] 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 --- apps/codecs/libwma/wmadec.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/codecs/libwma/wmadec.h b/apps/codecs/libwma/wmadec.h index 4efaa9b8a..39ad653c2 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 */ -- 2.11.4.GIT