From 6d52f54d8b8c85c09426f87add5f792d0b4f7abd Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Tue, 15 Dec 2009 01:30:59 +0000 Subject: M:Robe 500: Fix the bootloader build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24000 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/tms320dm320/boot.lds | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'firmware/target/arm') diff --git a/firmware/target/arm/tms320dm320/boot.lds b/firmware/target/arm/tms320dm320/boot.lds index a4077eeaaa..c4223ddb62 100644 --- a/firmware/target/arm/tms320dm320/boot.lds +++ b/firmware/target/arm/tms320dm320/boot.lds @@ -27,8 +27,11 @@ STARTUP(target/arm/tms320dm320/crt0.o) /* must be 16Kb (0x4000) aligned */ #define TTB_SIZE (0x4000) -/* Give this 1 meg to allow it to align to the MMU boundary */ -#define LCD_TTB_AREA 0x100000 +/* Give this some memory to allow it to align to the MMU boundary. + * Note that since there are two buffers (YUV/RGB) it calculates the approximate + * memory needed in steps of 1 Meg. + */ +#define LCD_TTB_AREA 0x100000*((LCD_BUFFER_SIZE>>19)+1) #define BOOT_OFFSET 0x1000000 -- cgit v1.2.3