freemyipod r325 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r324‎ | r325 | r326 >
Date:00:18, 13 December 2010
Author:theseven
Status:new
Tags:
Comment:
emBIOS: iPod Nano 2G: Make displaylcd_sync sleep instead of yield to reduce CPU load and power consumption
Modified paths:
  • /embios/trunk/target/ipodnano2g/lcd.S (modified) (history)

Diff [purge]

Index: embios/trunk/target/ipodnano2g/lcd.S
@@ -273,7 +273,8 @@
274274 tst r0, #0x70000
275275 ldreq pc, [sp], #4
276276 adr lr, displaylcd_sync_wait
277 - b context_switch
 277+ mov r0, #0x100
 278+ b sleep
278279 .size displaylcd_sync, .-displaylcd_sync
279280
280281 .section .icode.displaylcd_busy, "ax", %progbits