Changeset 3479


Ignore:
Timestamp:
Dec 7, 2012, 5:08:04 AM (3 years ago)
Author:
quozl
Message:

OLPC XO-4 - fix banner CPU speed for 1.2 GHz SKUs

File:
1 edited

Legend:

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

    r3264 r3479  
    4242   h#      4000 h# 1024 +mpmu io@  and
    4343;
    44 : pll2-fbdiv  ( -- N )  h# 34 mpmu@ d# 10 rshift h# 1ff and  2+  ;
    45 : pll2-refdiv  ( -- M )  h# 34 mpmu@ d# 19 rshift h# 1f and  2+  ;
     44: pll2-fbdiv  ( -- N )
     45   h# 34 mpmu@ d# 10 rshift h# 1ff and
     46[ifdef] olpc-cl2
     47   2+
     48[then]
     49;
     50: pll2-refdiv  ( -- M )
     51   h# 34 mpmu@ d# 19 rshift h# 1f and
     52[ifdef] olpc-cl2
     53   2+
     54[then]
     55;
    4656
    4757: fccr@    ( -- n )  h# 05.0008 io@  ;
     
    96106      0  of  d# 400,000,000 pj4-clkdiv 1+ /            endof  ( hz )
    97107      1  of  d# 800,000,000                            endof  ( hz )
     108[ifdef] olpc-cl2
    98109      2  of  d#  26,000,000 pll2-fbdiv pll2-refdiv */  endof  ( hz )
     110[then]
     111[ifdef] olpc-cl4
     112      2  of  d#  13,000,000 pll2-fbdiv pll2-refdiv */  endof  ( hz )
     113[then]
    99114      3  of  d# 1,063,000,000                          endof  ( hz )
    100115   endcase
Note: See TracChangeset for help on using the changeset viewer.