[openfirmware] [commit] r3324 - cpu/arm/olpc
repository service
svn at openfirmware.info
Sat Sep 22 08:33:20 CEST 2012
Author: quozl
Date: Sat Sep 22 08:33:19 2012
New Revision: 3324
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3324
Log:
OLPC XO-1.75 XO-4 - ensure RTC SQWE is enabled before using it as SoC slow clock, related to CForth 2cf4585dace915da58fe47282a1b92db815a23b3
Modified:
cpu/arm/olpc/build-fw.fth
cpu/arm/olpc/rtc.fth
Modified: cpu/arm/olpc/build-fw.fth
==============================================================================
--- cpu/arm/olpc/build-fw.fth Sat Sep 22 04:38:47 2012 (r3323)
+++ cpu/arm/olpc/build-fw.fth Sat Sep 22 08:33:19 2012 (r3324)
@@ -316,6 +316,8 @@
fload ${BP}/cpu/arm/olpc/rtc.fth
stand-init: RTC
" /i2c at d4031000/rtc" open-dev clock-node !
+ \ use RTC 32kHz clock as SoC external slow clock
+ h# 38 mpmu@ 1 or h# 38 mpmu!
;
warning @ warning off
Modified: cpu/arm/olpc/rtc.fth
==============================================================================
--- cpu/arm/olpc/rtc.fth Sat Sep 22 04:38:47 2012 (r3323)
+++ cpu/arm/olpc/rtc.fth Sat Sep 22 08:33:19 2012 (r3324)
@@ -40,7 +40,12 @@
else ( value )
drop true ( true )
then ( okay? )
+
+ \ manage legacy RTC CMOS usage
?clear
+
+ \ enable 32kHz clock output
+ h# b3 7 rtc!
;
: close ( -- )
;
More information about the openfirmware
mailing list