summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/app.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tms320dm320/app.lds')
-rw-r--r--firmware/target/arm/tms320dm320/app.lds13
1 files changed, 11 insertions, 2 deletions
diff --git a/firmware/target/arm/tms320dm320/app.lds b/firmware/target/arm/tms320dm320/app.lds
index 635d9a8842..14b44153a6 100644
--- a/firmware/target/arm/tms320dm320/app.lds
+++ b/firmware/target/arm/tms320dm320/app.lds
@@ -27,8 +27,11 @@ STARTUP(target/arm/tms320dm320/crt0.o)
27/* must be 16Kb (0x4000) aligned */ 27/* must be 16Kb (0x4000) aligned */
28#define TTB_SIZE 0x4000 28#define TTB_SIZE 0x4000
29 29
30/* Give this 1 meg to allow it to align to the MMU boundary */ 30/* Give this some memory to allow it to align to the MMU boundary.
31#define LCD_TTB_AREA 0x100000 31 * Note that since there are two buffers (YUV/RGB) it calculates the approximate
32 * memory needed in steps of 1 Meg.
33 */
34#define LCD_TTB_AREA 0x100000*((LCD_BUFFER_SIZE>>19)+1)
32 35
33#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET 36#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET
34 37
@@ -174,5 +177,11 @@ SECTIONS
174 _lcdbuf = .; 177 _lcdbuf = .;
175 . += LCD_BUFFER_SIZE; 178 . += LCD_BUFFER_SIZE;
176 } > DRAM 179 } > DRAM
180
181 .lcdbuffer2 (NOLOAD) :
182 {
183 _lcdbuf2 = .;
184 . += LCD_BUFFER_SIZE;
185 } > DRAM
177} 186}
178 187