summaryrefslogtreecommitdiff
path: root/apps/codecs/libatrac/atrac3.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libatrac/atrac3.h')
-rw-r--r--apps/codecs/libatrac/atrac3.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/apps/codecs/libatrac/atrac3.h b/apps/codecs/libatrac/atrac3.h
index 941bb6d2ad..64086b6411 100644
--- a/apps/codecs/libatrac/atrac3.h
+++ b/apps/codecs/libatrac/atrac3.h
@@ -23,14 +23,17 @@
23#include "../librm/rm.h" 23#include "../librm/rm.h"
24#include "codeclib.h" 24#include "codeclib.h"
25 25
26#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || (CONFIG_CPU == MCF5250) 26#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || \
27/* PP5022/24 and MCF5250 have larger IRAM */ 27 (CONFIG_CPU == MCF5250) || defined(CPU_S5L870X)
28#define IBSS_ATTR_LARGE_IRAM IBSS_ATTR 28/* PP5022/24, MCF5250 and S5L870x have larger IRAM */
29#define ICODE_ATTR_LARGE_IRAM ICODE_ATTR 29#define IBSS_ATTR_LARGE_IRAM IBSS_ATTR
30#define ICODE_ATTR_LARGE_IRAM ICODE_ATTR
31#define ICONST_ATTR_LARGE_IRAM ICONST_ATTR
30#else 32#else
31/* other CPUs IRAM is not large enough */ 33/* other CPUs IRAM is not large enough */
32#define IBSS_ATTR_LARGE_IRAM 34#define IBSS_ATTR_LARGE_IRAM
33#define ICODE_ATTR_LARGE_IRAM 35#define ICODE_ATTR_LARGE_IRAM
36#define ICONST_ATTR_LARGE_IRAM
34#endif 37#endif
35 38
36/* These structures are needed to store the parsed gain control data. */ 39/* These structures are needed to store the parsed gain control data. */