summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-10-25 07:44:56 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-10-25 07:44:56 +0000
commita256878e773000c2ac6e070b3ce115a0363ebea7 (patch)
treeb149ce74ae37ba8c434047a362b300d3a862518c /firmware/export
parent902a1b5fae62cbd7ec4733584c832a78ee6dafb2 (diff)
downloadrockbox-a256878e773000c2ac6e070b3ce115a0363ebea7.tar.gz
rockbox-a256878e773000c2ac6e070b3ce115a0363ebea7.zip
enable jpeg, mpegplayer and midiplay on the mr500 (only jpeg is actually usable though, mpegplayer data aborts)
fix the config which should have been done a few commits ago git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15296 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/dm320.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/dm320.h b/firmware/export/dm320.h
index 4dfc55dcd3..57ffc8667a 100644
--- a/firmware/export/dm320.h
+++ b/firmware/export/dm320.h
@@ -28,7 +28,7 @@
28#define TTB_SIZE (0x4000) 28#define TTB_SIZE (0x4000)
29/* must be 16Kb (0x4000) aligned */ 29/* must be 16Kb (0x4000) aligned */
30#define TTB_BASE ((unsigned int *)(0x04900000 - TTB_SIZE)) /* End of memory */ 30#define TTB_BASE ((unsigned int *)(0x04900000 - TTB_SIZE)) /* End of memory */
31#define FRAME ((short *) (TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */ 31#define FRAME ((short *) ((char*)TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */
32 32
33#define PHY_IO_BASE 0x00030000 33#define PHY_IO_BASE 0x00030000
34#define DM320_REG(addr) (*(volatile unsigned short *)(PHY_IO_BASE + (addr))) 34#define DM320_REG(addr) (*(volatile unsigned short *)(PHY_IO_BASE + (addr)))