diff options
| -rw-r--r-- | firmware/export/config-ipodcolor.h | 5 | ||||
| -rw-r--r-- | firmware/export/config-ipodnano.h | 5 | ||||
| -rw-r--r-- | firmware/export/config.h | 6 | ||||
| -rw-r--r-- | firmware/export/system.h | 2 |
4 files changed, 14 insertions, 4 deletions
diff --git a/firmware/export/config-ipodcolor.h b/firmware/export/config-ipodcolor.h index f30ef28..6666ab2 100644 --- a/firmware/export/config-ipodcolor.h +++ b/firmware/export/config-ipodcolor.h @@ -24,12 +24,13 @@ #define HAVE_SW_POWEROFF /* The number of bytes reserved for loadable codecs */ -#define CODEC_SIZE 0x40000 +#define CODEC_SIZE 0x80000 /* The number of bytes reserved for loadable plugins */ #define PLUGIN_BUFFER_SIZE 0xC0000 -//#define HAVE_UDA1380 +/* Define this if you have the WM8975 audio codec */ +#define HAVE_WM8975 #ifndef SIMULATOR diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h index d1077fa..111aec2 100644 --- a/firmware/export/config-ipodnano.h +++ b/firmware/export/config-ipodnano.h @@ -24,12 +24,13 @@ #define HAVE_SW_POWEROFF /* The number of bytes reserved for loadable codecs */ -#define CODEC_SIZE 0x40000 +#define CODEC_SIZE 0x80000 /* The number of bytes reserved for loadable plugins */ #define PLUGIN_BUFFER_SIZE 0xC0000 -//#define HAVE_UDA1380 +/* Define this if you have the WM8975 audio codec */ +#define HAVE_WM8975 #ifndef SIMULATOR 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"))) diff --git a/firmware/export/system.h b/firmware/export/system.h index c0c4fb9..e4de588 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h @@ -329,6 +329,8 @@ static inline int set_irq_level(int level) return result; } +#define invalidate_icache() + #elif CONFIG_CPU == TCC730 extern int smsc_version(void); |