diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-06-13 21:26:50 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-06-13 21:26:50 +0000 |
commit | 2bb7c422ea78a93cae53e2f9746559fa0bf7ee7b (patch) | |
tree | 616772e5ad63d683ae47c4d11710227f14c7660a /apps | |
parent | 4d41886caaefeccb08ed6eeccfffea15bad9c2a6 (diff) | |
download | rockbox-2bb7c422ea78a93cae53e2f9746559fa0bf7ee7b.tar.gz rockbox-2bb7c422ea78a93cae53e2f9746559fa0bf7ee7b.zip |
Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21281 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/plugin.lds | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 6fdbc2c64f..a3e22e7832 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds | |||
@@ -38,6 +38,14 @@ OUTPUT_FORMAT(elf32-littlemips) | |||
38 | #if CONFIG_CPU==DM320 || CONFIG_CPU==IMX31L | 38 | #if CONFIG_CPU==DM320 || CONFIG_CPU==IMX31L |
39 | /* Give this 1 meg to allow it to align to the MMU boundary */ | 39 | /* Give this 1 meg to allow it to align to the MMU boundary */ |
40 | #if CONFIG_CPU==DM320 | 40 | #if CONFIG_CPU==DM320 |
41 | #ifndef LCD_NATIVE_WIDTH | ||
42 | #define LCD_NATIVE_WIDTH LCD_WIDTH | ||
43 | #endif | ||
44 | |||
45 | #ifndef LCD_NATIVE_HEIGHT | ||
46 | #define LCD_NATIVE_HEIGHT LCD_HEIGHT | ||
47 | #endif | ||
48 | |||
41 | #define LCD_FUDGE LCD_NATIVE_WIDTH%32 | 49 | #define LCD_FUDGE LCD_NATIVE_WIDTH%32 |
42 | #define LCD_BUFFER_SIZE ((LCD_NATIVE_WIDTH+LCD_FUDGE)*LCD_NATIVE_HEIGHT*2) | 50 | #define LCD_BUFFER_SIZE ((LCD_NATIVE_WIDTH+LCD_FUDGE)*LCD_NATIVE_HEIGHT*2) |
43 | #define LCD_TTB_AREA 0x100000*((LCD_BUFFER_SIZE>>19)+1) | 51 | #define LCD_TTB_AREA 0x100000*((LCD_BUFFER_SIZE>>19)+1) |