From 98d7203eca87ec0fd0f1938e61064c51798ea068 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 4 Oct 2009 02:04:49 +0000 Subject: Correct the IRAM definitions for the S5L8700/8701 and add definitions for plugins/codecs. The current split (64/64 core/plugins for S5L8700 and 96/80 core/plugins for S5L8701) is arbitrary and should probably be tweaked later git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22905 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/plugin.lds | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'apps/plugins/plugin.lds') diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index f93d5d4..6b608fc 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -140,6 +140,16 @@ OUTPUT_FORMAT(elf32-littlemips) #define IRAMSIZE (IRAM_ORIG + IRAM_SIZE - IRAMORIG) #endif +#elif CONFIG_CPU==S5L8700 +#define DRAMORIG 0x08000000 +#define IRAMORIG (0x00000000 + (64*1024)) +#define IRAMSIZE (64*1024) + +#elif CONFIG_CPU==S5L8701 +#define DRAMORIG 0x08000000 +#define IRAMORIG (0x00000000 + (96*1024)) +#define IRAMSIZE (80*1024) + #elif CONFIG_CPU == JZ4732 #define DRAMORIG 0x80004000 + STUBOFFSET #define IRAM DRAM -- cgit v1.1