summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/iriver/h10/lcd-h10_20gb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/iriver/h10/lcd-h10_20gb.c b/firmware/target/arm/iriver/h10/lcd-h10_20gb.c
index 2052be7..1c4116d 100644
--- a/firmware/target/arm/iriver/h10/lcd-h10_20gb.c
+++ b/firmware/target/arm/iriver/h10/lcd-h10_20gb.c
@@ -173,7 +173,11 @@ void lcd_set_flip(bool yesno)
/* LCD init */
void lcd_init_device(void)
{
+#ifndef BOOTLOADER
+ /* The OF won't boot if this is done in the bootloader - ideally we should
+ tweak the lcd controller speed settings but this will do for now */
CLCD_CLOCK_SRC |= 0xc0000000; /* Set LCD interface clock to PLL */
+#endif
power_on = true;
display_on = true;
y_offset = 0;