summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tms320dm320/boot.lds
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-12-15 01:30:59 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-12-15 01:30:59 +0000
commit6d52f54d8b8c85c09426f87add5f792d0b4f7abd (patch)
treec48b0c82e5836ef8190a22ac9a821645fa8aa6f2 /firmware/target/arm/tms320dm320/boot.lds
parent5bc85067eb343863a13598fa3088df08bc0c92c6 (diff)
downloadrockbox-6d52f54d8b8c85c09426f87add5f792d0b4f7abd.tar.gz
rockbox-6d52f54d8b8c85c09426f87add5f792d0b4f7abd.zip
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/target/arm/tms320dm320/boot.lds')
-rw-r--r--firmware/target/arm/tms320dm320/boot.lds7
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