summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-11-12 15:26:51 +0000
committerDave Chapman <dave@dchapman.com>2005-11-12 15:26:51 +0000
commit3c1f659aeb6d2573bca65ae51f31dd9760a486d2 (patch)
tree0fa6b5996097714a85cfff7606fa6dd55e78695c /firmware/export/config.h
parentf7b2e840a7c8bc80b9f9cc99fb48b43c99123a7a (diff)
downloadrockbox-3c1f659aeb6d2573bca65ae51f31dd9760a486d2.zip
rockbox-3c1f659aeb6d2573bca65ae51f31dd9760a486d2.tar.gz
rockbox-3c1f659aeb6d2573bca65ae51f31dd9760a486d2.tar.bz2
rockbox-3c1f659aeb6d2573bca65ae51f31dd9760a486d2.tar.xz
iPod changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7824 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 41e639f..b9691cd 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -157,7 +157,13 @@
(CONFIG_CPU == MCF5249) || /* Coldfire: core, plugins, codecs */ \
(CONFIG_CPU == PP5020) || /* iPod: core, plugins, codecs */ \
(CONFIG_CPU == TCC730)) /* CalmRISC16: core, (plugins, codecs) */
+#if CONFIG_CPU != PP5020
#define ICODE_ATTR __attribute__ ((section(".icode")))
+#else
+/* TODO: We get linker errors for the arm when putting code in IRAM so it
+ is temporarily disabled. */
+#define ICODE_ATTR
+#endif
#define ICONST_ATTR __attribute__ ((section(".irodata")))
#define IDATA_ATTR __attribute__ ((section(".idata")))
#define IBSS_ATTR __attribute__ ((section(".ibss")))