diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-04-01 03:21:18 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-04-01 03:21:18 +0000 |
commit | 4fa96fbc914ae8fd69aedafd73f4f1798679d29f (patch) | |
tree | ea0deb3e1573e1dfd540441002e58b403670d178 /apps/plugins/plugin.lds | |
parent | a606121dd860245328198ac773d454980191abc3 (diff) | |
download | rockbox-4fa96fbc914ae8fd69aedafd73f4f1798679d29f.tar.gz rockbox-4fa96fbc914ae8fd69aedafd73f4f1798679d29f.zip |
M:Robe 500i: More LCD initialization, and beginnings of support for QVGA as well as VGA on the LCD. MPEGPlayer now works with reasonable performance on smaller videos, but YUV blitting persists after MPEGPlayer is left, some cleanup/changes to the initialization code. This should be functionally equivalent for the ZVM, but the #ifdef's may need to be added back for app.lds. Get the bootloader building again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20598 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r-- | apps/plugins/plugin.lds | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 69601d96a2..9c65f31779 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds | |||
@@ -36,7 +36,10 @@ OUTPUT_FORMAT(elf32-littlemips) | |||
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | #if CONFIG_CPU==DM320 || CONFIG_CPU==S3C2440 | 38 | #if CONFIG_CPU==DM320 || CONFIG_CPU==S3C2440 |
39 | #include "cpu.h" | 39 | #define LCD_BUFFER_SIZE (LCD_WIDTH*LCD_HEIGHT*2) |
40 | |||
41 | /* must be 16Kb (0x4000) aligned */ | ||
42 | #define TTB_SIZE (0x4000) | ||
40 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE | 43 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE |
41 | #elif CONFIG_CPU==IMX31L | 44 | #elif CONFIG_CPU==IMX31L |
42 | #include "imx31l.h" | 45 | #include "imx31l.h" |
@@ -85,6 +88,7 @@ OUTPUT_FORMAT(elf32-littlemips) | |||
85 | #elif CONFIG_CPU==DM320 | 88 | #elif CONFIG_CPU==DM320 |
86 | #define DRAMORIG 0x00900000 + STUBOFFSET | 89 | #define DRAMORIG 0x00900000 + STUBOFFSET |
87 | #define IRAM DRAM | 90 | #define IRAM DRAM |
91 | /* The bit of IRAM that is available is used in the core */ | ||
88 | #define IRAMSIZE 0 | 92 | #define IRAMSIZE 0 |
89 | #elif defined(CPU_TCC780X) || defined(CPU_TCC77X) | 93 | #elif defined(CPU_TCC780X) || defined(CPU_TCC77X) |
90 | #define DRAMORIG 0x20000000 | 94 | #define DRAMORIG 0x20000000 |