diff options
Diffstat (limited to 'firmware/export/s3c2440.h')
-rw-r--r-- | firmware/export/s3c2440.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/firmware/export/s3c2440.h b/firmware/export/s3c2440.h index 3c7075acd6..4a799da3e2 100644 --- a/firmware/export/s3c2440.h +++ b/firmware/export/s3c2440.h | |||
@@ -143,9 +143,12 @@ | |||
143 | #define LCDINTMSK (*(volatile int *)0x4D00005C) /* LCD interrupt mask */ | 143 | #define LCDINTMSK (*(volatile int *)0x4D00005C) /* LCD interrupt mask */ |
144 | #define TCONSEL (*(volatile int *)0x4D000060) /* TCON(LPC3600/LCC3600) control */ | 144 | #define TCONSEL (*(volatile int *)0x4D000060) /* TCON(LPC3600/LCC3600) control */ |
145 | 145 | ||
146 | /* The following should be computed but for now, we cheat. */ | 146 | #define LCD_BUFFER_SIZE ((320*240*2)) |
147 | #define FRAME ( (short *) 0x31E00000 ) /* LCD Frame buffer */ | 147 | #define TTB_SIZE (0x4000) |
148 | 148 | /*#define FRAME ( (short *) 0x31E00000 ) */ /* LCD Frame buffer - Firmware Address */ | |
149 | /* must be 16Kb (0x4000) aligned */ | ||
150 | #define TTB_BASE (0x30000000 + (32*1024*1024) - TTB_SIZE) /* End of memory */ | ||
151 | #define FRAME ((short *) (TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */ | ||
149 | /* NAND Flash */ | 152 | /* NAND Flash */ |
150 | 153 | ||
151 | #define NFCONF (*(volatile int *)0x4E000000) /* NAND flash configuration */ | 154 | #define NFCONF (*(volatile int *)0x4E000000) /* NAND flash configuration */ |