diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-04-09 04:22:14 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-04-09 04:22:14 +0000 |
commit | 93fccc763b97323cb3112bf9afee819cd03ba195 (patch) | |
tree | 8b3da3ecd807da715478fe4cc1697fcffea1bd67 /apps/plugins/plugin.lds | |
parent | 49fcfe81b861f866c4e9e16e272f33654a1be450 (diff) | |
download | rockbox-93fccc763b97323cb3112bf9afee819cd03ba195.tar.gz rockbox-93fccc763b97323cb3112bf9afee819cd03ba195.zip |
M:Robe 500: More LCD initialization, QVGA (vs. VGA) is now enabled by default for performance, 256 color palette mode added, include some linker cleanups and reorganization. Doom and MPEGPlayer now run reaonably well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20664 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r-- | apps/plugins/plugin.lds | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 9c65f31779..d6f62341ce 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds | |||
@@ -35,18 +35,20 @@ OUTPUT_FORMAT(elf32-littlemips) | |||
35 | #define NOCACHE_BASE 0x00000000 | 35 | #define NOCACHE_BASE 0x00000000 |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | #if CONFIG_CPU==DM320 || CONFIG_CPU==S3C2440 | 38 | #if CONFIG_CPU==DM320 || CONFIG_CPU==IMX31L |
39 | #define LCD_BUFFER_SIZE (LCD_WIDTH*LCD_HEIGHT*2) | 39 | /* Give this 1 meg to allow it to align to the MMU boundary */ |
40 | #define LCD_TTB_AREA 0x100000 | ||
41 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_TTB_AREA | ||
40 | 42 | ||
43 | #elif CONFIG_CPU==S3C2440 | ||
44 | #define LCD_BUFFER_SIZE (LCD_WIDTH*LCD_HEIGHT*2) | ||
41 | /* must be 16Kb (0x4000) aligned */ | 45 | /* must be 16Kb (0x4000) aligned */ |
42 | #define TTB_SIZE (0x4000) | 46 | #define TTB_SIZE (0x4000) |
43 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE | 47 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE |
44 | #elif CONFIG_CPU==IMX31L | 48 | |
45 | #include "imx31l.h" | ||
46 | /* Reserve 1mb for LCD buffer/TTB as in app.lds */ | ||
47 | #define DRAMSIZE (MEMORYSIZE * 0x100000 - 0x100000) - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE | ||
48 | #elif CONFIG_CPU==AS3525 && MEMORYSIZE <= 2 | 49 | #elif CONFIG_CPU==AS3525 && MEMORYSIZE <= 2 |
49 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - STUBOFFSET | 50 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - STUBOFFSET |
51 | |||
50 | #else | 52 | #else |
51 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE | 53 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE |
52 | #endif | 54 | #endif |
@@ -77,11 +79,7 @@ OUTPUT_FORMAT(elf32-littlemips) | |||
77 | #define DRAMORIG 0xc00000 + STUBOFFSET | 79 | #define DRAMORIG 0xc00000 + STUBOFFSET |
78 | #define IRAMORIG 0x407000 | 80 | #define IRAMORIG 0x407000 |
79 | #define IRAMSIZE 0x9000 | 81 | #define IRAMSIZE 0x9000 |
80 | #elif CONFIG_CPU == S3C2440 | 82 | #elif CONFIG_CPU == IMX31L || CONFIG_CPU == S3C2440 |
81 | #define DRAMORIG 0x0 + STUBOFFSET | ||
82 | #define IRAM DRAM | ||
83 | #define IRAMSIZE 0 | ||
84 | #elif CONFIG_CPU == IMX31L | ||
85 | #define DRAMORIG 0x0 + STUBOFFSET | 83 | #define DRAMORIG 0x0 + STUBOFFSET |
86 | #define IRAM DRAM | 84 | #define IRAM DRAM |
87 | #define IRAMSIZE 0 | 85 | #define IRAMSIZE 0 |