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 | |
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')
-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 { \ | |||
39 | #define SLEEP(x) { register int __i; for(__i=0; __i<x; __i++) asm volatile("nop\n nop\n"); } | 39 | #define SLEEP(x) { register int __i; for(__i=0; __i<x; __i++) asm volatile("nop\n nop\n"); } |
40 | #define DELAY SLEEP(700000); | 40 | #define DELAY SLEEP(700000); |
41 | 41 | ||
42 | #if (defined(ONDA_VX777) && !defined(BOOTLOADER)) || defined(USB_BOOT) | 42 | #if (defined((ONDA_VX777) || (ONDA_VX747P)) && !defined(BOOTLOADER)) \ |
43 | || defined(USB_BOOT) | ||
43 | /* | 44 | /* |
44 | * Onda VX777 needs this in order to boot correctly, it looks like the SPL | 45 | * Onda VX777/VX747+ needs this in order to boot correctly, it looks like the |
45 | * does not correctly initialize the LCD for Rockbox to switch it on. | 46 | * SPL does not correctly initialize the LCD for Rockbox to switch it on. |
46 | */ | 47 | */ |
47 | #define RESET_LCD | 48 | #define RESET_LCD |
48 | #endif | 49 | #endif |