diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2011-01-21 12:38:03 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2011-01-21 12:38:03 +0000 |
commit | 476e464901dda57b51080a3ca373863bbd72da05 (patch) | |
tree | af1d6f278ff031d99219cf0e3ebd4e0314d6fc82 /firmware/target/mips/ingenic_jz47xx/onda_vx747 | |
parent | f511e4916d69002b2d201bb7832604d3b04e4d19 (diff) | |
download | rockbox-476e464901dda57b51080a3ca373863bbd72da05.tar.gz rockbox-476e464901dda57b51080a3ca373863bbd72da05.zip |
Fix Onda VX747+ LCD not working on boot
Same fix as in r29083.
Flyspray: FS#11896
Author: Purling Nayuki
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29102 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/onda_vx747')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/onda_vx747/lcd-onda_vx747.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx747/lcd-onda_vx747.c b/firmware/target/mips/ingenic_jz47xx/onda_vx747/lcd-onda_vx747.c index 56c8504649..192b4409fb 100644 --- a/firmware/target/mips/ingenic_jz47xx/onda_vx747/lcd-onda_vx747.c +++ b/firmware/target/mips/ingenic_jz47xx/onda_vx747/lcd-onda_vx747.c @@ -39,10 +39,11 @@ do { \ #define SLEEP(x) { register int __i; for(__i=0; __i<x; __i++) asm volatile("nop\n nop\n"); } #define DELAY SLEEP(700000); -#if (defined(ONDA_VX777) && !defined(BOOTLOADER)) || defined(USB_BOOT) +#if (defined((ONDA_VX777) || (ONDA_VX747P)) && !defined(BOOTLOADER)) \ + || defined(USB_BOOT) /* - * Onda VX777 needs this in order to boot correctly, it looks like the SPL - * does not correctly initialize the LCD for Rockbox to switch it on. + * Onda VX777/VX747+ needs this in order to boot correctly, it looks like the + * SPL does not correctly initialize the LCD for Rockbox to switch it on. */ #define RESET_LCD #endif |