diff options
Diffstat (limited to 'firmware/target/arm/s3c2440/mini2440/lcd-target.h')
-rw-r--r-- | firmware/target/arm/s3c2440/mini2440/lcd-target.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/target/arm/s3c2440/mini2440/lcd-target.h b/firmware/target/arm/s3c2440/mini2440/lcd-target.h index b2882e2390..97643f8163 100644 --- a/firmware/target/arm/s3c2440/mini2440/lcd-target.h +++ b/firmware/target/arm/s3c2440/mini2440/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 | /* Setup for Mini2440, 3.5" TFT LCD Touchscreen */ | 26 | /* Setup for Mini2440, 3.5" TFT LCD Touchscreen */ |
25 | 27 | ||
@@ -41,3 +43,5 @@ extern void lcd_enable(bool state); | |||
41 | 43 | ||
42 | /* Config values for LCDCON4 */ | 44 | /* Config values for LCDCON4 */ |
43 | #define LCD_HSYNC_LEN 4 | 45 | #define LCD_HSYNC_LEN 4 |
46 | |||
47 | #endif /* LCD_TARGET_H */ | ||