diff options
Diffstat (limited to 'apps/codecs/libfaad/common.h')
-rw-r--r-- | apps/codecs/libfaad/common.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/codecs/libfaad/common.h b/apps/codecs/libfaad/common.h index 109dfe67cb..9179a6e21c 100644 --- a/apps/codecs/libfaad/common.h +++ b/apps/codecs/libfaad/common.h | |||
@@ -56,18 +56,28 @@ extern struct codec_api* ci; | |||
56 | #define IBSS_ATTR_FAAD_LARGE_IRAM IBSS_ATTR | 56 | #define IBSS_ATTR_FAAD_LARGE_IRAM IBSS_ATTR |
57 | #define ICODE_ATTR_FAAD_LARGE_IRAM | 57 | #define ICODE_ATTR_FAAD_LARGE_IRAM |
58 | #define ICONST_ATTR_FAAD_LARGE_IRAM ICONST_ATTR | 58 | #define ICONST_ATTR_FAAD_LARGE_IRAM ICONST_ATTR |
59 | #define IBSS_ATTR_FAAD_XLARGE_IRAM | ||
59 | 60 | ||
60 | #elif (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || defined(CPU_S5L870X) | 61 | #elif (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) |
61 | /* Enough IRAM to move additional data and code to it. */ | 62 | /* Enough IRAM to move additional data and code to it. */ |
62 | #define IBSS_ATTR_FAAD_LARGE_IRAM IBSS_ATTR | 63 | #define IBSS_ATTR_FAAD_LARGE_IRAM IBSS_ATTR |
63 | #define ICODE_ATTR_FAAD_LARGE_IRAM ICODE_ATTR | 64 | #define ICODE_ATTR_FAAD_LARGE_IRAM ICODE_ATTR |
64 | #define ICONST_ATTR_FAAD_LARGE_IRAM ICONST_ATTR | 65 | #define ICONST_ATTR_FAAD_LARGE_IRAM ICONST_ATTR |
66 | #define IBSS_ATTR_FAAD_XLARGE_IRAM | ||
67 | |||
68 | #elif defined(CPU_S5L870X) | ||
69 | /* Very large IRAM. Move even more data to it. */ | ||
70 | #define IBSS_ATTR_FAAD_LARGE_IRAM IBSS_ATTR | ||
71 | #define ICODE_ATTR_FAAD_LARGE_IRAM ICODE_ATTR | ||
72 | #define ICONST_ATTR_FAAD_LARGE_IRAM ICONST_ATTR | ||
73 | #define IBSS_ATTR_FAAD_XLARGE_IRAM IBSS_ATTR | ||
65 | 74 | ||
66 | #else | 75 | #else |
67 | /* Not enough IRAM available. */ | 76 | /* Not enough IRAM available. */ |
68 | #define IBSS_ATTR_FAAD_LARGE_IRAM | 77 | #define IBSS_ATTR_FAAD_LARGE_IRAM |
69 | #define ICODE_ATTR_FAAD_LARGE_IRAM | 78 | #define ICODE_ATTR_FAAD_LARGE_IRAM |
70 | #define ICONST_ATTR_FAAD_LARGE_IRAM | 79 | #define ICONST_ATTR_FAAD_LARGE_IRAM |
80 | #define IBSS_ATTR_FAAD_XLARGE_IRAM | ||
71 | #endif | 81 | #endif |
72 | 82 | ||
73 | #define INLINE __inline | 83 | #define INLINE __inline |