summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-04-10 17:00:23 +0000
committerThomas Martitz <kugel@rockbox.org>2009-04-10 17:00:23 +0000
commitbac611868e499aadf58bfcc3a64e5c80eecf40bd (patch)
treed2b4b920ef3793afac7175258149f3695cdfd4f5 /firmware/export
parent0eb9288056ac73b40f47d82b807e16b48f45292a (diff)
downloadrockbox-bac611868e499aadf58bfcc3a64e5c80eecf40bd.zip
rockbox-bac611868e499aadf58bfcc3a64e5c80eecf40bd.tar.gz
rockbox-bac611868e499aadf58bfcc3a64e5c80eecf40bd.tar.bz2
rockbox-bac611868e499aadf58bfcc3a64e5c80eecf40bd.tar.xz
FS#10114 - Sansa AMS : use IRAM for codecs on >2MB targets Rafaël Carré
Activates IRAM for AMS Sansas to be used by codecs and core. Fixes Reboot-on-mp3 and gives speed up on codecs using IRAM in general. I've made a change: the core/codec ratio is 0x20000/0x30000 instead of 0x10000/0x40000, 0x30000 is way more than codecs currently use (0x14000 at max) and the core might need more than 0x10000. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20678 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 3b3333b..ac60e96 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -625,6 +625,7 @@ Lyre prototype 1*/
(((CONFIG_CPU == SH7034) && !defined(PLUGIN)) || /* SH1 archos: core only */ \
defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \
defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \
+ (CONFIG_CPU == AS3525 && MEMORYSIZE > 2) || \
(CONFIG_CPU == PNX0101) || \
(CONFIG_CPU == S5L8700)) /* Samsung S5L8700: core, plugins, codecs */
#define ICODE_ATTR __attribute__ ((section(".icode")))