summaryrefslogtreecommitdiff
path: root/apps/codecs/demac/libdemac/demac_iram.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/demac/libdemac/demac_iram.h')
-rw-r--r--apps/codecs/demac/libdemac/demac_iram.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/codecs/demac/libdemac/demac_iram.h b/apps/codecs/demac/libdemac/demac_iram.h
index fb6965a35e..5dd02f812d 100644
--- a/apps/codecs/demac/libdemac/demac_iram.h
+++ b/apps/codecs/demac/libdemac/demac_iram.h
@@ -25,6 +25,7 @@
25#ifndef _LIBDEMAC_IRAM_H 25#ifndef _LIBDEMAC_IRAM_H
26#define _LIBDEMAC_IRAM_H 26#define _LIBDEMAC_IRAM_H
27 27
28#ifdef ROCKBOX
28#include "config.h" 29#include "config.h"
29 30
30/* On PP5002 code should go into IRAM. Otherwise put the insane 31/* On PP5002 code should go into IRAM. Otherwise put the insane
@@ -39,4 +40,11 @@
39#define IBSS_ATTR_DEMAC_INSANEBUF IBSS_ATTR 40#define IBSS_ATTR_DEMAC_INSANEBUF IBSS_ATTR
40#endif 41#endif
41 42
43#else
44
45#define IBSS_ATTR_DEMAC_INSANEBUF
46#define ICODE_ATTR_DEMAC
47
48#endif /* !ROCKBOX */
49
42#endif /* _LIBDEMAC_IRAM_H */ 50#endif /* _LIBDEMAC_IRAM_H */