Author: wmb Date: Tue Mar 27 22:28:27 2012 New Revision: 2924 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2924
Log: OLPC XO-1.75 and XO-3 - use hardware suspend/resume.
Modified: cpu/arm/mmp2/dramrecal.fth
Modified: cpu/arm/mmp2/dramrecal.fth ============================================================================== --- cpu/arm/mmp2/dramrecal.fth Tue Mar 27 22:15:50 2012 (r2923) +++ cpu/arm/mmp2/dramrecal.fth Tue Mar 27 22:28:27 2012 (r2924) @@ -58,7 +58,10 @@ end-code here ddr-recal - constant /ddr-recal
-\ create use-auto-mc-wake \ Let the PMU automatically wake the memory controller +create use-hw-s3 +[ifdef] use-hw-s3 +create use-auto-mc-wake \ Let the PMU automatically wake the memory controller +[then] create use-block \ Block memory controller activity in low-level sleep code create use-self-refresh \ Manually issue self-refresh enter/exit create use-drivers \ Turn memory drivers off during sleep @@ -844,7 +847,11 @@
\ begin mmp2_cpu_do_idle() block-irqs ( ) \ Block IRQs - will be cleared by PMU - do-self-refresh ( ) +[ifdef] use-hw-s3 + wfi +[else] + do-self-refresh +[then]
restore-run-state \ end mmp2_cpu_do_idle()