diff options
| author | Dave Chapman <dave@dchapman.com> | 2005-11-12 15:26:51 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2005-11-12 15:26:51 +0000 |
| commit | 3c1f659aeb6d2573bca65ae51f31dd9760a486d2 (patch) | |
| tree | 0fa6b5996097714a85cfff7606fa6dd55e78695c | |
| parent | f7b2e840a7c8bc80b9f9cc99fb48b43c99123a7a (diff) | |
| download | rockbox-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
| -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); |