From a6c1b54d4651920efdafd52a402fadf0f80b373c Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Mon, 31 May 2010 21:00:25 +0000 Subject: 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 --- apps/plugins/plugin.lds | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'apps/plugins/plugin.lds') diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index deb7813..f150b9d 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -120,10 +120,13 @@ OUTPUT_FORMAT(elf32-littlemips) #elif defined(CPU_TCC780X) || defined(CPU_TCC77X) #define DRAMORIG 0x20000000 -/*#define IRAMORIG 0x1000c000 -#define IRAMSIZE 0xc000*/ +#if CONFIG_CPU==TCC7801 +#define IRAMORIG 0x1000c000 +#define IRAMSIZE 0xc000 +#else #define IRAM DRAM #define IRAMSIZE 0 +#endif #elif CONFIG_CPU==AS3525 || CONFIG_CPU==AS3525v2 #if defined(AMS_LOWMEM) || (CONFIG_CPU == AS3525v2) -- cgit v1.1