Author: wmb Date: Thu Feb 3 08:00:20 2011 New Revision: 2167 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2167
Log: XO-1.75 RTC driver - call set-address in bcd-time&date so other TWSI users don't interfere with it.
Modified: cpu/arm/olpc/1.75/rtc.fth
Modified: cpu/arm/olpc/1.75/rtc.fth ============================================================================== --- cpu/arm/olpc/1.75/rtc.fth Thu Feb 3 07:59:14 2011 (r2166) +++ cpu/arm/olpc/1.75/rtc.fth Thu Feb 3 08:00:20 2011 (r2167) @@ -31,6 +31,7 @@ : >bcd ( binary -- bcd ) d# 10 /mod 4 << + ;
: bcd-time&date ( -- s m h d m y century ) + set-address [ifdef] cl2-a1 7 0 smb-read-n ( s m h dow d m y ) [else]
openfirmware@openfirmware.info