Changeset 3324


Ignore:
Timestamp:
Sep 22, 2012, 8:33:19 AM (2 years ago)
Author:
quozl
Message:

OLPC XO-1.75 XO-4 - ensure RTC SQWE is enabled before using it as SoC slow clock, related to CForth 2cf4585dace915da58fe47282a1b92db815a23b3

Location:
cpu/arm/olpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/build-fw.fth

    r3323 r3324  
    317317stand-init: RTC 
    318318   " /i2c@d4031000/rtc" open-dev  clock-node ! 
     319   \ use RTC 32kHz clock as SoC external slow clock 
     320   h# 38 mpmu@ 1 or h# 38 mpmu! 
    319321; 
    320322 
  • cpu/arm/olpc/rtc.fth

    r3258 r3324  
    4141      drop true                ( true ) 
    4242   then                        ( okay? ) 
     43 
     44   \ manage legacy RTC CMOS usage 
    4345   ?clear 
     46 
     47   \ enable 32kHz clock output 
     48   h# b3 7 rtc! 
    4449; 
    4550: close  ( -- ) 
Note: See TracChangeset for help on using the changeset viewer.