Changeset 3272


Ignore:
Timestamp:
Sep 2, 2012, 2:00:26 AM (2 years ago)
Author:
wmb
Message:

OLPC ARM - Changed the error threshold for suspend-state power to accomodate the observed power draw of the XO-4 A2 boards. When we have newer boards and better characterization, this threshold may need further tweaking.

File:
1 edited

Legend:

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

    r3251 r3272  
    5555alias test4 wakeup-loop 
    5656 
     57d# -250 constant suspend-power-limit 
     58[ifdef] mmp3 
     59   .( mmp2/rtc.fth: Temporarily increasing suspend-power-limit) cr 
     60   d# -400 to suspend-power-limit 
     61[then] 
     62 
    5763: s3-selftest  ( -- error? ) 
    5864   \ The general failure mode here is that it won't wake up, so 
     
    6369   ec-rst-pwr ['] cancel-alarm 3 rtc-wake  str  ec-max-pwr  ( power ) 
    6470   \ Negative power is consumed from battery, positive is supplied to battery 
    65    dup  d# -250 <  if                                       ( power ) 
     71   dup  suspend-power-limit <  if                           ( power ) 
    6672      ." System used too much power during suspend - "  negate .d ." mW" cr  ( ) 
    6773      true                                                  ( error? ) 
Note: See TracChangeset for help on using the changeset viewer.