From b787c0dd05ef4ddd6727a86b06d2491be8600f07 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Thu, 11 Nov 2010 13:04:22 +0000 Subject: Onda VX767: get some facts about the state of the current LCD driver straight * Remove wrong comment in config * Add a note to the LCD driver stating that it isn't complete and thus non-working atm git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28558 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config/ondavx767.h | 5 ++--- firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c | 7 ++++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/firmware/export/config/ondavx767.h b/firmware/export/config/ondavx767.h index bf9aaed7c1..b2bac4f851 100644 --- a/firmware/export/config/ondavx767.h +++ b/firmware/export/config/ondavx767.h @@ -62,11 +62,10 @@ /* define this if the target has volume keys which can be used in the lists */ #define HAVE_VOLUME_IN_LIST -/* LCD dimensions */ +/* LCD type */ #define CONFIG_LCD LCD_ONDAVX767 -/* this are not actually the correct dimensions (480x272 is correct) - * should be fixed once there's a working LCD driver */ +/* LCD dimensions */ #define LCD_WIDTH 480 #define LCD_HEIGHT 272 #define LCD_DPI 128 diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c b/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c index b3cc6980e1..caee8982f6 100644 --- a/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c +++ b/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c @@ -71,7 +71,12 @@ static void _display_pin_init(void) __gpio_set_pin(PIN_UNK_N); \ SLCD_SET_DATA(val); \ WAIT_ON_SLCD; - + +/* Note: this has been confirmed non-working + * and needs some tweaking from a VX767 owner. + * (this was reverse engineered from the OF so + * "should" be correct) */ + static void _display_init(void) { int i; -- cgit v1.2.3