diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-07-26 15:33:25 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-07-26 15:33:25 +0000 |
commit | bd1592ed5aa8c6089a37a2ffa7d1bc284d0bd620 (patch) | |
tree | 1646768ce9288cb735cee54c45c59b942ccf204d /firmware/target/arm/iriver/h10 | |
parent | 5ebcae028b4b0e492f8ac48b92f24a2ca808d763 (diff) |
H10: Speed up LCD updates significantly (~+80% when boosted).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14006 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/iriver/h10')
-rw-r--r-- | firmware/target/arm/iriver/h10/lcd-h10_20gb.c | 3 | ||||
-rw-r--r-- | firmware/target/arm/iriver/h10/lcd-h10_5gb.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/iriver/h10/lcd-h10_20gb.c b/firmware/target/arm/iriver/h10/lcd-h10_20gb.c index 0eaa172c40..5ef18b41ad 100644 --- a/firmware/target/arm/iriver/h10/lcd-h10_20gb.c +++ b/firmware/target/arm/iriver/h10/lcd-h10_20gb.c @@ -188,8 +188,9 @@ void lcd_set_flip(bool yesno) /* LCD init */ void lcd_init_device(void) { + CLCD_CLOCK_SRC |= 0xc0000000; /* Set LCD interface clock to PLL */ power_on = true; - display_on = true; + display_on = true; y_offset = 0; disp_control_rev = 0x0004; lcd_contrast = DEFAULT_CONTRAST_SETTING << 8; diff --git a/firmware/target/arm/iriver/h10/lcd-h10_5gb.c b/firmware/target/arm/iriver/h10/lcd-h10_5gb.c index 01f4130efb..c1f447a80c 100644 --- a/firmware/target/arm/iriver/h10/lcd-h10_5gb.c +++ b/firmware/target/arm/iriver/h10/lcd-h10_5gb.c @@ -131,6 +131,7 @@ void lcd_set_flip(bool yesno) /* LCD init */ void lcd_init_device(void) { + CLCD_CLOCK_SRC |= 0xc0000000; /* Set LCD interface clock to PLL */ /* H10 LCD is initialised by the bootloader */ } |