diff options
Diffstat (limited to 'apps/codecs/codec.h')
-rw-r--r-- | apps/codecs/codec.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/codecs/codec.h b/apps/codecs/codec.h index c00d2bda95..3b6e7796ee 100644 --- a/apps/codecs/codec.h +++ b/apps/codecs/codec.h | |||
@@ -21,6 +21,15 @@ | |||
21 | 21 | ||
22 | #include "config.h" | 22 | #include "config.h" |
23 | 23 | ||
24 | #if CONFIG_CPU == MCF5249 && !defined(SIMULATOR) | ||
25 | #define ICODE_ATTR __attribute__ ((section(".icode"))) | ||
26 | #define IDATA_ATTR __attribute__ ((section(".idata"))) | ||
27 | #define USE_IRAM 1 | ||
28 | #else | ||
29 | #define ICODE_ATTR | ||
30 | #define IDATA_ATTR | ||
31 | #endif | ||
32 | |||
24 | #include <sys/types.h> | 33 | #include <sys/types.h> |
25 | 34 | ||
26 | /* Get these functions 'out of the way' of the standard functions. Not doing | 35 | /* Get these functions 'out of the way' of the standard functions. Not doing |