summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-12-04 15:19:49 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-12-04 15:19:49 +0000
commitb2dd3c210e909baec303a94463dc5517acc2780a (patch)
treedb6d357f5a4a2dd6cdd3d16eb714041fd9f1e8ad
parenta1ab7a55ffc768da55e4cb30a87cfb85b1231902 (diff)
downloadrockbox-b2dd3c210e909baec303a94463dc5517acc2780a.tar.gz
rockbox-b2dd3c210e909baec303a94463dc5517acc2780a.zip
Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19326 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/dm320.h4
-rwxr-xr-xfirmware/export/imx31l.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/export/dm320.h b/firmware/export/dm320.h
index 4a1b7246d5..4d6b9ac08b 100644
--- a/firmware/export/dm320.h
+++ b/firmware/export/dm320.h
@@ -32,9 +32,9 @@
32/* must be 16Kb (0x4000) aligned */ 32/* must be 16Kb (0x4000) aligned */
33#if 0 33#if 0
34#define MEM_END 0x00900000 + (MEM*0x00100000) 34#define MEM_END 0x00900000 + (MEM*0x00100000)
35#define TTB_BASE ((unsigned int *)(MEM_END - TTB_SIZE)) /* End of memory */ 35#define TTB_BASE ((unsigned long *)(MEM_END - TTB_SIZE)) /* End of memory */
36#else 36#else
37#define TTB_BASE ((unsigned int *)(0x04900000 - TTB_SIZE)) /* End of memory */ 37#define TTB_BASE ((unsigned long *)(0x04900000 - TTB_SIZE)) /* End of memory */
38#endif 38#endif
39#define FRAME ((short *) ((char*)TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */ 39#define FRAME ((short *) ((char*)TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */
40 40
diff --git a/firmware/export/imx31l.h b/firmware/export/imx31l.h
index f41381c8eb..6780a5a43f 100755
--- a/firmware/export/imx31l.h
+++ b/firmware/export/imx31l.h
@@ -31,7 +31,7 @@
31#define TTB_BASE_ADDR (0x80100000 + 0x00100000 - TTB_SIZE) 31#define TTB_BASE_ADDR (0x80100000 + 0x00100000 - TTB_SIZE)
32#define TTB_SIZE (0x4000) 32#define TTB_SIZE (0x4000)
33#define IRAM_SIZE (0x4000) 33#define IRAM_SIZE (0x4000)
34#define TTB_BASE ((unsigned int *)TTB_BASE_ADDR) 34#define TTB_BASE ((unsigned long *)TTB_BASE_ADDR)
35#define FRAME ((void*)0x03f00000) 35#define FRAME ((void*)0x03f00000)
36#define FRAME_SIZE (240*320*2) 36#define FRAME_SIZE (240*320*2)
37 37