Changeset 2924


Ignore:
Timestamp:
Mar 27, 2012, 8:28:27 PM (3 years ago)
Author:
wmb
Message:

OLPC XO-1.75 and XO-3 - use hardware suspend/resume.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/mmp2/dramrecal.fth

    r2921 r2924  
    5959here ddr-recal - constant /ddr-recal
    6060
    61 \ create use-auto-mc-wake  \ Let the PMU automatically wake the memory controller
     61create use-hw-s3
     62[ifdef] use-hw-s3
     63create use-auto-mc-wake  \ Let the PMU automatically wake the memory controller
     64[then]
    6265create use-block           \ Block memory controller activity in low-level sleep code
    6366create use-self-refresh    \ Manually issue self-refresh enter/exit
     
    845848   \ begin mmp2_cpu_do_idle()
    846849   block-irqs                    ( )  \ Block IRQs - will be cleared by PMU
    847    do-self-refresh               ( )
     850[ifdef] use-hw-s3
     851   wfi
     852[else]
     853   do-self-refresh
     854[then]
    848855
    849856   restore-run-state
Note: See TracChangeset for help on using the changeset viewer.