summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s5l8700/meizu-m6sp/lcd-m6sp.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2010-01-14 20:16:03 +0000
committerBertrik Sikken <bertrik@sikken.nl>2010-01-14 20:16:03 +0000
commitb3cba9021f0b5437afbacc286b5e026c84ef7141 (patch)
treee2d81af292de964188c26c7a5de312732978c949 /firmware/target/arm/s5l8700/meizu-m6sp/lcd-m6sp.c
parent75400545be5fbec85517a20ac6a85e1beb7da6ff (diff)
Meizu M6SP: add stubs so the meizu m6sp binary compiles and links
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24228 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700/meizu-m6sp/lcd-m6sp.c')
-rw-r--r--firmware/target/arm/s5l8700/meizu-m6sp/lcd-m6sp.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/firmware/target/arm/s5l8700/meizu-m6sp/lcd-m6sp.c b/firmware/target/arm/s5l8700/meizu-m6sp/lcd-m6sp.c
index fa3d5aa7f2..8e6a653f1b 100644
--- a/firmware/target/arm/s5l8700/meizu-m6sp/lcd-m6sp.c
+++ b/firmware/target/arm/s5l8700/meizu-m6sp/lcd-m6sp.c
@@ -56,6 +56,7 @@
#define LCD_TYPE1_ID 0x139 /* id for LCD type S6D0139 */
static int lcd_type = 0;
+static bool lcd_is_active = false;
/* simple and crude delay */
static void lcd_delay(int count)
@@ -357,6 +358,13 @@ void lcd_enable(bool on)
/* disable controller clock */
PWRCON |= (1 << 18);
}
+
+ lcd_is_active = on;
+}
+
+bool lcd_active(void)
+{
+ return lcd_is_active;
}
/* initialise the lcd controller inside the s5l8700 */
@@ -468,3 +476,18 @@ void lcd_update(void)
lcd_update_rect(0, 0, LCD_WIDTH, LCD_HEIGHT);
}
+void lcd_blit_yuv(unsigned char * const src[3],
+ int src_x, int src_y, int stride,
+ int x, int y, int width, int height)
+{
+ (void)src;
+ (void)src_x;
+ (void)src_y;
+ (void)stride;
+ (void)x;
+ (void)y;
+ (void)width;
+ (void)height;
+ /* TODO: not implemented yet */
+}
+