diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-12-15 01:30:59 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-12-15 01:30:59 +0000 |
commit | 6d52f54d8b8c85c09426f87add5f792d0b4f7abd (patch) | |
tree | c48b0c82e5836ef8190a22ac9a821645fa8aa6f2 /firmware | |
parent | 5bc85067eb343863a13598fa3088df08bc0c92c6 (diff) |
M:Robe 500: Fix the bootloader build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24000 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/tms320dm320/boot.lds | 7 |
1 files changed, 5 insertions, 2 deletions
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 |