diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-04-24 20:08:28 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-04-24 20:08:28 +0000 |
commit | 95167e01773dcfe8e5c1b356cfa1ea4b3a55441b (patch) | |
tree | 8b5312c5f1d1ecc8231bf8e14a1eb1678474bf8a /firmware/export/dm320.h | |
parent | 46b492861152af9b91d3ab65ef0e5e14c876c3fc (diff) | |
download | rockbox-95167e01773dcfe8e5c1b356cfa1ea4b3a55441b.tar.gz rockbox-95167e01773dcfe8e5c1b356cfa1ea4b3a55441b.zip |
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
Diffstat (limited to 'firmware/export/dm320.h')
-rw-r--r-- | firmware/export/dm320.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ | |||
28 | #define LCD_BUFFER_SIZE (LCD_WIDTH*LCD_HEIGHT*2) | 28 | #define LCD_BUFFER_SIZE (LCD_WIDTH*LCD_HEIGHT*2) |
29 | #define TTB_SIZE (0x4000) | 29 | #define TTB_SIZE (0x4000) |
30 | /* must be 16Kb (0x4000) aligned */ | 30 | /* must be 16Kb (0x4000) aligned */ |
31 | #if 0 | ||
32 | #define MEM_END 0x00900000 + (MEM*0x00100000) | ||
33 | #define TTB_BASE ((unsigned int *)(MEM_END - TTB_SIZE)) /* End of memory */ | ||
34 | #else | ||
31 | #define TTB_BASE ((unsigned int *)(0x04900000 - TTB_SIZE)) /* End of memory */ | 35 | #define TTB_BASE ((unsigned int *)(0x04900000 - TTB_SIZE)) /* End of memory */ |
36 | #endif | ||
32 | #define FRAME ((short *) ((char*)TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */ | 37 | #define FRAME ((short *) ((char*)TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */ |
33 | 38 | ||
34 | #define PHY_IO_BASE 0x00030000 | 39 | #define PHY_IO_BASE 0x00030000 |