diff options
| author | Michael Sparmann <theseven@rockbox.org> | 2009-11-09 20:01:07 +0000 |
|---|---|---|
| committer | Michael Sparmann <theseven@rockbox.org> | 2009-11-09 20:01:07 +0000 |
| commit | 099df2fb7144bbee4ec97c133acafe8ce8c19524 (patch) | |
| tree | 8b746b888751d2a5272e5b39e1aa3203feff4683 /apps/codecs | |
| parent | cc4d92c27058fca4e8f9817e1d06d8c75574d6f4 (diff) | |
| download | rockbox-099df2fb7144bbee4ec97c133acafe8ce8c19524.zip rockbox-099df2fb7144bbee4ec97c133acafe8ce8c19524.tar.gz rockbox-099df2fb7144bbee4ec97c133acafe8ce8c19524.tar.bz2 rockbox-099df2fb7144bbee4ec97c133acafe8ce8c19524.tar.xz | |
Make the codecs use more IRAM on S5L870x, as we have plenty of it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23594 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
| -rw-r--r-- | apps/codecs/demac/libdemac/demac_config.h | 4 | ||||
| -rw-r--r-- | apps/codecs/libtremor/config-tremor.h | 2 | ||||
| -rw-r--r-- | apps/codecs/libwma/wmadec.h | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/apps/codecs/demac/libdemac/demac_config.h b/apps/codecs/demac/libdemac/demac_config.h index 986e537..1bbdef3 100644 --- a/apps/codecs/demac/libdemac/demac_config.h +++ b/apps/codecs/demac/libdemac/demac_config.h @@ -54,6 +54,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA #define ICODE_SECTION_DEMAC_ARM .text #define ICODE_ATTR_DEMAC #define IBSS_ATTR_DEMAC_INSANEBUF +#elif defined(CPU_S5L870X) +#define ICODE_SECTION_DEMAC_ARM .icode +#define ICODE_ATTR_DEMAC ICODE_ATTR +#define IBSS_ATTR_DEMAC_INSANEBUF IBSS_ATTR #else #define ICODE_SECTION_DEMAC_ARM .text #define ICODE_ATTR_DEMAC diff --git a/apps/codecs/libtremor/config-tremor.h b/apps/codecs/libtremor/config-tremor.h index 403fdfd..eb9429e 100644 --- a/apps/codecs/libtremor/config-tremor.h +++ b/apps/codecs/libtremor/config-tremor.h @@ -41,7 +41,7 @@ #define IRAM_IBSS_SIZE 37376 /* Define CPU of large IRAM (PP5022/5024) */ -#elif (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) +#elif (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || defined(CPU_S5L870X) /* PCM_BUFFER : 32768 byte (4096*2*4 or 2048*4*4) * * WINDOW_LOOKUP : 9216 Byte (256*4 + 2048*4) * * TOTAL : 41984 */ diff --git a/apps/codecs/libwma/wmadec.h b/apps/codecs/libwma/wmadec.h index d22e435..a547ece 100644 --- a/apps/codecs/libwma/wmadec.h +++ b/apps/codecs/libwma/wmadec.h @@ -55,7 +55,7 @@ /*define IRAM for targets with 48k/80k IRAM split*/ #ifndef IBSS_ATTR_WMA_LARGE_IRAM -#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) +#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 */ #define IBSS_ATTR_WMA_LARGE_IRAM IBSS_ATTR #else |