From 4ca4aef5939453a6c914f5c519e28620220ef650 Mon Sep 17 00:00:00 2001 From: Buschel Date: Sun, 7 Mar 2010 21:38:42 +0000 Subject: [PATCH] Use more IRAM for musepack on S5L870X CPUs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25064 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libmusepack/mpcdec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/codecs/libmusepack/mpcdec.h b/apps/codecs/libmusepack/mpcdec.h index a35995174..97c0f39ac 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 -- 2.11.4.GIT