From 7510335fc4fe25e1fe8ec80a33bd3f3f7442dd4c Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Tue, 22 Apr 2008 04:34:25 +0000 Subject: This is a big chunk of code necessary to prepare for Gigabeat F flash loading and and implementation of rolo. There should be no noticible changes for the user. A new bootloader is not needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17213 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/plugin.lds | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'apps/plugins/plugin.lds') diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 8699ca1..4a0ad73 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -30,12 +30,9 @@ OUTPUT_FORMAT(elf32-sh) #define NOCACHE_BASE 0x00000000 #endif -#if CONFIG_CPU==S3C2440 -#include "s3c2440.h" -#define DRAMSIZE (MEMORYSIZE * 0x100000) - 0x100 - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE -#elif CONFIG_CPU==DM320 -#include "dm320.h" -#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE +#if CONFIG_CPU==DM320 || CONFIG_CPU==S3C2440 +#include "cpu.h" +#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE #elif CONFIG_CPU==IMX31L #include "imx31l.h" /* Reserve 1mb for LCD buffer/TTB as in app.lds */ @@ -65,7 +62,7 @@ OUTPUT_FORMAT(elf32-sh) #define IRAMORIG 0x407000 #define IRAMSIZE 0x9000 #elif CONFIG_CPU == S3C2440 -#define DRAMORIG 0x100 + STUBOFFSET +#define DRAMORIG 0x0 + STUBOFFSET #define IRAMORIG DRAMORIG #define IRAMSIZE 4K #define IRAM DRAM -- cgit v1.1