[openfirmware] [commit] r2976 - cpu/arm/olpc
repository service
svn at openfirmware.info
Tue May 15 13:23:12 CEST 2012
Author: quozl
Date: Tue May 15 13:23:11 2012
New Revision: 2976
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2976
Log:
OLPC XO-1.75 - clear the Open Firmware century register in the IDT1338 or DS1338 RTC when power on reset is detected.
Modified:
cpu/arm/olpc/rtc.fth
Modified: cpu/arm/olpc/rtc.fth
==============================================================================
--- cpu/arm/olpc/rtc.fth Sat May 12 04:47:45 2012 (r2975)
+++ cpu/arm/olpc/rtc.fth Tue May 15 13:23:11 2012 (r2976)
@@ -29,6 +29,8 @@
\ Ensure that the Clock Halt bit is off
dup h# 80 and if ( value )
+ \ Clear century
+ h# 20 8 rtc!
\ Turn off Clock Halt
h# 7f and 0 rtc! ( )
\ Verify that it went off
More information about the openfirmware
mailing list