From bd1592ed5aa8c6089a37a2ffa7d1bc284d0bd620 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 26 Jul 2007 15:33:25 +0000 Subject: H10: Speed up LCD updates significantly (~+80% when boosted). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14006 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/iriver/h10/lcd-h10_20gb.c | 3 ++- firmware/target/arm/iriver/h10/lcd-h10_5gb.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'firmware/target/arm/iriver/h10') 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 */ } -- cgit v1.2.3