summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2010-11-11 13:04:22 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2010-11-11 13:04:22 +0000
commitb787c0dd05ef4ddd6727a86b06d2491be8600f07 (patch)
tree9154571e1f8ec65cc9ac5d49f00316342ec43c47
parent5727688e72f2b9b943194bd4a9497f103bf95548 (diff)
downloadrockbox-b787c0dd05ef4ddd6727a86b06d2491be8600f07.tar.gz
rockbox-b787c0dd05ef4ddd6727a86b06d2491be8600f07.zip
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
-rw-r--r--firmware/export/config/ondavx767.h5
-rw-r--r--firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c7
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 @@
62/* define this if the target has volume keys which can be used in the lists */ 62/* define this if the target has volume keys which can be used in the lists */
63#define HAVE_VOLUME_IN_LIST 63#define HAVE_VOLUME_IN_LIST
64 64
65/* LCD dimensions */ 65/* LCD type */
66#define CONFIG_LCD LCD_ONDAVX767 66#define CONFIG_LCD LCD_ONDAVX767
67 67
68/* this are not actually the correct dimensions (480x272 is correct) 68/* LCD dimensions */
69 * should be fixed once there's a working LCD driver */
70#define LCD_WIDTH 480 69#define LCD_WIDTH 480
71#define LCD_HEIGHT 272 70#define LCD_HEIGHT 272
72#define LCD_DPI 128 71#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)
71 __gpio_set_pin(PIN_UNK_N); \ 71 __gpio_set_pin(PIN_UNK_N); \
72 SLCD_SET_DATA(val); \ 72 SLCD_SET_DATA(val); \
73 WAIT_ON_SLCD; 73 WAIT_ON_SLCD;
74 74
75/* Note: this has been confirmed non-working
76 * and needs some tweaking from a VX767 owner.
77 * (this was reverse engineered from the OF so
78 * "should" be correct) */
79
75static void _display_init(void) 80static void _display_init(void)
76{ 81{
77 int i; 82 int i;