summaryrefslogtreecommitdiffstats
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.tar.bz2
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 {
/* As defined in plugin.lds */
#if CONFIG_CPU == PP5020 || CONFIG_CPU == PP5002
#define CODEC_IRAM_ORIGIN 0x4000c000
+#define CODEC_IRAM_SIZE 0xc000
#elif defined(IAUDIO_X5)
-#define CODEC_IRAM_ORIGIN 0x10014000
+#define CODEC_IRAM_ORIGIN 0x10010000
+#define CODEC_IRAM_SIZE 0x10000
#else
#define CODEC_IRAM_ORIGIN 0x1000c000
-#endif
#define CODEC_IRAM_SIZE 0xc000
+#endif
#ifndef IBSS_ATTR_VOICE_STACK
#define IBSS_ATTR_VOICE_STACK IBSS_ATTR