summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-11-10 07:45:30 +0000
committerJens Arnold <amiconn@rockbox.org>2006-11-10 07:45:30 +0000
commit03adbd280d4cd0c6be51ac3b7821e2b964587182 (patch)
tree5f5d9c23f97dc73d1f4bfdf1f204b498239d9183
parent29d8b917a8bda553671294dc31640e0bb78021f2 (diff)
downloadrockbox-03adbd280d4cd0c6be51ac3b7821e2b964587182.tar.gz
rockbox-03adbd280d4cd0c6be51ac3b7821e2b964587182.zip
Ooops, adapt playback.c to the new IRAM distribution on X5. Codec IRAM is defined in more than one place...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11495 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/playback.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 892bd15105..6fed765da4 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -169,12 +169,14 @@ enum {
169/* As defined in plugin.lds */ 169/* As defined in plugin.lds */
170#if CONFIG_CPU == PP5020 || CONFIG_CPU == PP5002 170#if CONFIG_CPU == PP5020 || CONFIG_CPU == PP5002
171#define CODEC_IRAM_ORIGIN 0x4000c000 171#define CODEC_IRAM_ORIGIN 0x4000c000
172#define CODEC_IRAM_SIZE 0xc000
172#elif defined(IAUDIO_X5) 173#elif defined(IAUDIO_X5)
173#define CODEC_IRAM_ORIGIN 0x10014000 174#define CODEC_IRAM_ORIGIN 0x10010000
175#define CODEC_IRAM_SIZE 0x10000
174#else 176#else
175#define CODEC_IRAM_ORIGIN 0x1000c000 177#define CODEC_IRAM_ORIGIN 0x1000c000
176#endif
177#define CODEC_IRAM_SIZE 0xc000 178#define CODEC_IRAM_SIZE 0xc000
179#endif
178 180
179#ifndef IBSS_ATTR_VOICE_STACK 181#ifndef IBSS_ATTR_VOICE_STACK
180#define IBSS_ATTR_VOICE_STACK IBSS_ATTR 182#define IBSS_ATTR_VOICE_STACK IBSS_ATTR