summaryrefslogtreecommitdiff
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
parenta6052d30af5928d4a044b29cdc9ef57e0034fac2 (diff)
downloadrockbox-3fe6152a1a6095e41426709d4a2eb3780529d518.tar.gz
rockbox-3fe6152a1a6095e41426709d4a2eb3780529d518.zip
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
-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)
108/* LCD init */ 108/* LCD init */
109void lcd_init_device(void) 109void lcd_init_device(void)
110{ 110{
111#ifndef BOOTLOADER
112 /* The OF won't boot if this is done in the bootloader - ideally we should
113 tweak the lcd controller speed settings but this will do for now */
111 CLCD_CLOCK_SRC |= 0xc0000000; /* Set LCD interface clock to PLL */ 114 CLCD_CLOCK_SRC |= 0xc0000000; /* Set LCD interface clock to PLL */
115#endif
112 /* H10 LCD is initialised by the bootloader */ 116 /* H10 LCD is initialised by the bootloader */
113} 117}
114 118