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.zip
rockbox-b787c0dd05ef4ddd6727a86b06d2491be8600f07.tar.gz
rockbox-b787c0dd05ef4ddd6727a86b06d2491be8600f07.tar.bz2
rockbox-b787c0dd05ef4ddd6727a86b06d2491be8600f07.tar.xz
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 bf9aaed..b2bac4f 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 b3cc698..caee898 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;