freemyipod r326 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r325‎ | r326 | r327 >
Date:01:36, 13 December 2010
Author:theseven
Status:new
Tags:
Comment:
emBIOS: iPod Nano 2G: Increase LCD driving frequency by orders of magnitude. Needs testing on non-ILI176 LCDs.
Modified paths:
  • /embios/trunk/target/ipodnano2g/lcd.S (modified) (history)

Diff [purge]

Index: embios/trunk/target/ipodnano2g/lcd.S
@@ -31,9 +31,11 @@
3232 orr r0, r0, #0x590000
3333 str r0, [r1,#0x104]
3434 orr r1, r1, #0x200000
35 - ldr r0, [r1]
36 - orr r0, r0, #0x100
 35+ mov r0, #0xd00
 36+ orr r0, r0, #0x1
3737 str r0, [r1]
 38+ mov r0, #0
 39+ str r0, [r1,#0x10]
3840 mov pc, lr
3941 .size lcd_init, .-lcd_init
4042