[openfirmware] [commit] r2555 - cpu/arm/olpc/1.75
repository service
svn at openfirmware.info
Fri Sep 30 03:30:44 CEST 2011
Author: quozl
Date: Fri Sep 30 03:30:43 2011
New Revision: 2555
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2555
Log:
OLPC XO-1.75 - fix RTC test for units that do not hold their date, by checking only the year, #11229
Modified:
cpu/arm/olpc/1.75/rtc.fth
Modified: cpu/arm/olpc/1.75/rtc.fth
==============================================================================
--- cpu/arm/olpc/1.75/rtc.fth Fri Sep 30 02:32:34 2011 (r2554)
+++ cpu/arm/olpc/1.75/rtc.fth Fri Sep 30 03:30:43 2011 (r2555)
@@ -76,9 +76,8 @@
true close exit
then
get-time .date space .time cr
- get-time >unix-seconds ( clock-seconds )
- 0 0 0 d# 29 d# 9 d# 2011 >unix-seconds ( clock-seconds earliest-seconds )
- u< dup if ." Date in RTC is too early" cr then
+ get-time 2nip 2nip nip
+ d# 2011 < dup if ." Date in RTC is too early" cr then
close
;
More information about the openfirmware
mailing list