summaryrefslogtreecommitdiff
path: root/firmware/export/dm320.h
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2007-09-30 16:29:21 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2007-09-30 16:29:21 +0000
commita56b65342f1c1021472eb2899ab46e69a666f7f8 (patch)
treec4a0fcb647db0b7e9983ce5f11bdab0d945b895f /firmware/export/dm320.h
parent5be5674b066b63ac8994db86f34c83c2c7f956ed (diff)
Move some more files around and get the main build compiling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14919 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/dm320.h')
-rw-r--r--firmware/export/dm320.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/dm320.h b/firmware/export/dm320.h
index 93f2f3affc..0c84444a66 100644
--- a/firmware/export/dm320.h
+++ b/firmware/export/dm320.h
@@ -24,7 +24,8 @@
#ifndef __DM320_H__
#define __DM320_H__
-#define FRAME ((short *) (0x4470000))
+#define LCD_BUFFER_SIZE (640*480*4)
+#define FRAME ((short *) (0x4900000-LCD_BUFFER_SIZE)) /* Put the buffer at the end of mem */
#define PHY_IO_BASE 0x00030000
#define DM320_REG(addr) (*(volatile unsigned short *)(PHY_IO_BASE + (addr)))
@@ -314,7 +315,6 @@
#define IO_CCD_BLKCMP0 0x0728
#define IO_CCD_BLKCMP1 0x072A
#define IO_CCD_MEDFILT 0x072C
-#define IO_CCD_RYEGAN 0x072E /* this is kept on the odd chance that some code is using the misspelled reg */
#define IO_CCD_RYEGAIN 0x072E
#define IO_CCD_GRCYGAIN 0x0730
#define IO_CCD_GBGGAIN 0x0732