From b3cba9021f0b5437afbacc286b5e026c84ef7141 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Thu, 14 Jan 2010 20:16:03 +0000 Subject: 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 --- firmware/target/arm/s5l8700/meizu-m6sp/lcd-m6sp.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'firmware/target/arm/s5l8700/meizu-m6sp/lcd-m6sp.c') 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 */ +} + -- cgit v1.2.3