summaryrefslogtreecommitdiff
path: root/apps/plugins/plugin.lds
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2010-05-31 21:00:25 +0000
committerRob Purchase <shotofadds@rockbox.org>2010-05-31 21:00:25 +0000
commita6c1b54d4651920efdafd52a402fadf0f80b373c (patch)
tree115f197e177e62ae472640131eee0f8699f85136 /apps/plugins/plugin.lds
parent64adb32cbfc805c01084ff935049998846c70dcd (diff)
downloadrockbox-a6c1b54d4651920efdafd52a402fadf0f80b373c.tar.gz
rockbox-a6c1b54d4651920efdafd52a402fadf0f80b373c.zip
Enable IRAM on TCC7801 (Cowon D2) for a 6-12% speedup in codecs that use it, and a small increase in battery life.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26436 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r--apps/plugins/plugin.lds7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index deb7813c49..f150b9d168 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -120,10 +120,13 @@ OUTPUT_FORMAT(elf32-littlemips)
120 120
121#elif defined(CPU_TCC780X) || defined(CPU_TCC77X) 121#elif defined(CPU_TCC780X) || defined(CPU_TCC77X)
122#define DRAMORIG 0x20000000 122#define DRAMORIG 0x20000000
123/*#define IRAMORIG 0x1000c000 123#if CONFIG_CPU==TCC7801
124#define IRAMSIZE 0xc000*/ 124#define IRAMORIG 0x1000c000
125#define IRAMSIZE 0xc000
126#else
125#define IRAM DRAM 127#define IRAM DRAM
126#define IRAMSIZE 0 128#define IRAMSIZE 0
129#endif
127 130
128#elif CONFIG_CPU==AS3525 || CONFIG_CPU==AS3525v2 131#elif CONFIG_CPU==AS3525 || CONFIG_CPU==AS3525v2
129#if defined(AMS_LOWMEM) || (CONFIG_CPU == AS3525v2) 132#if defined(AMS_LOWMEM) || (CONFIG_CPU == AS3525v2)