From 3c1f659aeb6d2573bca65ae51f31dd9760a486d2 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sat, 12 Nov 2005 15:26:51 +0000 Subject: iPod changes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7824 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'firmware/export/config.h') 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"))) -- cgit v1.1