[openfirmware] [commit] r3322 - cpu/arm/mmp3

repository service svn at openfirmware.info
Fri Sep 21 05:36:35 CEST 2012


Author: quozl
Date: Fri Sep 21 05:36:35 2012
New Revision: 3322
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3322

Log:
OLPC XO-4 - enable thermal watchdog at 100.5C, covering execution time within Open Firmware only, not Linux.

Modified:
   cpu/arm/mmp3/thermal.fth

Modified: cpu/arm/mmp3/thermal.fth
==============================================================================
--- cpu/arm/mmp3/thermal.fth	Fri Sep 21 05:13:40 2012	(r3321)
+++ cpu/arm/mmp3/thermal.fth	Fri Sep 21 05:36:35 2012	(r3322)
@@ -134,13 +134,15 @@
 ;
 
 : ts-watchdog-enable  ( n -- )
-   dup ts@  h# 0400.0300 or  swap ts!  \ 85-87.5C
+   dup ts@  h# 0400.0d00 or  swap ts!  \ 100.5C
 ;
 
 : init-thermal-sensor  ( -- )
    ts-clocks
    0 ts-range-high
-   \ 0 ts-watchdog-enable \ WDT reset will cause system hang, per errata 472630
+   0 ts-watchdog-enable
+   \ WDT reset will cause system hang, per errata 472630,
+   \ but on XO-4 A2 and XO-4 B1 is detected by EC
    1 ts-range-low
    2 ts-range-low
    3 0 do  i ts-auto-read  loop



More information about the openfirmware mailing list