summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-11-30 16:36:32 +0000
committerRafaël Carré <rafael.carre@gmail.com>2008-11-30 16:36:32 +0000
commit0b6d65b09e7c12d7c0469e942518d913f7fd9376 (patch)
treeb378a64971405b5dbafdfaa6cef918501bd14b61 /firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
parentf235f1d4c0c222402d0e8b64cdf50533ef4dc9c9 (diff)
downloadrockbox-0b6d65b09e7c12d7c0469e942518d913f7fd9376.tar.gz
rockbox-0b6d65b09e7c12d7c0469e942518d913f7fd9376.zip
Sansa AMS: Use a valid PLL setting (248MHz aka maximum fclk)
Fix lcd drivers which stopped working after changing the PLL. Move set_cpu_frequency() to a place where it is actually used. Remove enable_irq() call already done by the bootloader git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19276 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c')
-rw-r--r--firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c b/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
index f26381859f..6bdee395c0 100644
--- a/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
+++ b/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
@@ -94,7 +94,7 @@ static void lcd_delay(int x)
94/* DBOP initialisation, do what OF does */ 94/* DBOP initialisation, do what OF does */
95static void ams3525_dbop_init(void) 95static void ams3525_dbop_init(void)
96{ 96{
97 CGU_DBOP = (1<<3) | (4-1); 97 CGU_DBOP = (1<<3) | (3-1);
98 98
99 DBOP_TIMPOL_01 = 0xe167e167; 99 DBOP_TIMPOL_01 = 0xe167e167;
100 DBOP_TIMPOL_23 = 0xe167006e; 100 DBOP_TIMPOL_23 = 0xe167006e;