From 57a683fc7d656ea99e1d3bb376a9261d99ebdc59 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Tue, 2 Nov 2010 22:56:31 +0000 Subject: Reconfigure IRAM for S5L870x. S5L8700 has 256 KB of IRAM, use a 48 KB / 208 KB split for core/codec. S5L8701 has 176 KB of IRAM, use a 48 KB / 128 KB split for core/codec. This will allow further speed optimization of codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28463 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/plugin.lds | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'apps') diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 653b8bae87..2f11bd1235 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -139,14 +139,16 @@ OUTPUT_FORMAT(elf32-littlemips) #endif #elif CONFIG_CPU==S5L8700 +/* S5L8700 have 256KB of IRAM */ #define DRAMORIG 0x08000000 -#define IRAMORIG (0x00000000 + (64*1024)) -#define IRAMSIZE (64*1024) +#define IRAMORIG (0x00000000 + (48*1024)) +#define IRAMSIZE (208*1024) #elif CONFIG_CPU==S5L8701 +/* S5L8701 have 176KB of IRAM */ #define DRAMORIG 0x08000000 -#define IRAMORIG (0x00000000 + (96*1024)) -#define IRAMSIZE (80*1024) +#define IRAMORIG (0x00000000 + (48*1024)) +#define IRAMSIZE (128*1024) #elif CONFIG_CPU == JZ4732 #define DRAMORIG 0x80004000 + STUBOFFSET -- cgit v1.2.3