summaryrefslogtreecommitdiff
path: root/firmware/target/arm/iriver/h10/lcd-h10_5gb.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2009-03-02 22:42:13 +0000
committerBarry Wardell <rockbox@barrywardell.net>2009-03-02 22:42:13 +0000
commit3fe6152a1a6095e41426709d4a2eb3780529d518 (patch)
tree54e9ae5e2ae001f57fadaed1dbc6de4b42f8c2fe /firmware/target/arm/iriver/h10/lcd-h10_5gb.c
parenta6052d30af5928d4a044b29cdc9ef57e0034fac2 (diff)
Make the H10 5GB bootloader able to load the OF again. From FS#9955.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20185 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/iriver/h10/lcd-h10_5gb.c')
-rw-r--r--firmware/target/arm/iriver/h10/lcd-h10_5gb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/iriver/h10/lcd-h10_5gb.c b/firmware/target/arm/iriver/h10/lcd-h10_5gb.c
index c49fe99d85..ce57af14d5 100644
--- a/firmware/target/arm/iriver/h10/lcd-h10_5gb.c
+++ b/firmware/target/arm/iriver/h10/lcd-h10_5gb.c
@@ -108,7 +108,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
/* H10 LCD is initialised by the bootloader */
}