From 95167e01773dcfe8e5c1b356cfa1ea4b3a55441b Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Thu, 24 Apr 2008 20:08:28 +0000 Subject: Commit whole Creative Zen Vision:M target tree + all related firmware/ changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17241 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/dm320.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'firmware/export/dm320.h') diff --git a/firmware/export/dm320.h b/firmware/export/dm320.h index 4a26f6e3d5..a70083331e 100644 --- a/firmware/export/dm320.h +++ b/firmware/export/dm320.h @@ -28,7 +28,12 @@ #define LCD_BUFFER_SIZE (LCD_WIDTH*LCD_HEIGHT*2) #define TTB_SIZE (0x4000) /* must be 16Kb (0x4000) aligned */ +#if 0 +#define MEM_END 0x00900000 + (MEM*0x00100000) +#define TTB_BASE ((unsigned int *)(MEM_END - TTB_SIZE)) /* End of memory */ +#else #define TTB_BASE ((unsigned int *)(0x04900000 - TTB_SIZE)) /* End of memory */ +#endif #define FRAME ((short *) ((char*)TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */ #define PHY_IO_BASE 0x00030000 -- cgit v1.2.3