diff options
Diffstat (limited to 'firmware/target/arm/s3c2440/gigabeat-fx/lcd-target.h')
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/lcd-target.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/lcd-target.h b/firmware/target/arm/s3c2440/gigabeat-fx/lcd-target.h index c136a2052d..d5656f6d45 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/lcd-target.h +++ b/firmware/target/arm/s3c2440/gigabeat-fx/lcd-target.h | |||
@@ -18,8 +18,10 @@ | |||
18 | * KIND, either express or implied. | 18 | * KIND, either express or implied. |
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #ifndef LCD_TARGET_H | ||
22 | #define LCD_TARGET_H | ||
21 | 23 | ||
22 | extern void lcd_enable(bool state); | 24 | #define LCD_FRAMEBUF_ADDR(col, row) ((fb_data *)FRAME + (row)*LCD_WIDTH + (col)) |
23 | 25 | ||
24 | /* Config values for LCDCON1 */ | 26 | /* Config values for LCDCON1 */ |
25 | /* ENVID = 0, BPPMODE = 16 bpp, PNRMODE = TFT, MMODE = Each Frame, CLKVAL = 8 */ | 27 | /* ENVID = 0, BPPMODE = 16 bpp, PNRMODE = TFT, MMODE = Each Frame, CLKVAL = 8 */ |
@@ -43,3 +45,5 @@ extern void lcd_enable(bool state); | |||
43 | /* Config values for LCDCON4 */ | 45 | /* Config values for LCDCON4 */ |
44 | /* HSPW = 7 */ | 46 | /* HSPW = 7 */ |
45 | #define LCD_HSYNC_LEN 7 | 47 | #define LCD_HSYNC_LEN 7 |
48 | |||
49 | #endif /* LCD_TARGET_H */ | ||