diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2008-03-27 00:50:50 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2008-03-27 00:50:50 +0000 |
commit | b35d45db0281f89ed8aa09c25668ed3cd73c453e (patch) | |
tree | 2903cab71a95a094e7070cf8be239105365b8b1e /firmware/target/arm | |
parent | f0cde2dff9bad225fe76ae5fc24f99d1dc97c8bd (diff) | |
download | rockbox-b35d45db0281f89ed8aa09c25668ed3cd73c453e.tar.gz rockbox-b35d45db0281f89ed8aa09c25668ed3cd73c453e.zip |
Make H10 bootloader successfully boot the OF again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16837 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/iriver/h10/lcd-h10_20gb.c | 4 |
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 2052be724c..1c4116d2e7 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) | |||
173 | /* LCD init */ | 173 | /* LCD init */ |
174 | void lcd_init_device(void) | 174 | void lcd_init_device(void) |
175 | { | 175 | { |
176 | #ifndef BOOTLOADER | ||
177 | /* The OF won't boot if this is done in the bootloader - ideally we should | ||
178 | tweak the lcd controller speed settings but this will do for now */ | ||
176 | CLCD_CLOCK_SRC |= 0xc0000000; /* Set LCD interface clock to PLL */ | 179 | CLCD_CLOCK_SRC |= 0xc0000000; /* Set LCD interface clock to PLL */ |
180 | #endif | ||
177 | power_on = true; | 181 | power_on = true; |
178 | display_on = true; | 182 | display_on = true; |
179 | y_offset = 0; | 183 | y_offset = 0; |