Changeset 2992


Ignore:
Timestamp:
May 31, 2012, 6:33:33 PM (3 years ago)
Author:
wmb
Message:

OLPC XO-1.75 - If PLL2 is in use, leave it connected to the CPU cores when suspending.

File:
1 edited

Legend:

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

    r2944 r2992  
    287287   h#     9 h#  5c +pmua io-set  \ PMUA_USB_CLK_RES_CTRL
    288288;
     289: pll2?  ( -- flag )  h# 34 mpmu@ h# 100 and 0<>  ;
    289290: disable-mpmu-clks  ( -- )
    290    h#      a010 h# 1024 mpmu!         \ MPMU_ACGR
    291 
    292    h#      a010 h# 0024 mpmu!         \ MPMU_CGR_SP ???
     291   pll2?  if  h# e010  else  h# a010  then    ( cgr-value )
     292   dup h# 1024 mpmu!                  \ MPMU_CGR_PJ
     293   h# 0024 mpmu!                      \ MPMU_CGR_SP
    293294
    294295\  h# 2000.0000 h#  414 +mpmu io-clr  \ MPMU_PLL2_CTRL1
Note: See TracChangeset for help on using the changeset viewer.