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

repository service svn at openfirmware.info
Fri Aug 31 00:05:01 CEST 2012


Author: quozl
Date: Fri Aug 31 00:05:00 2012
New Revision: 3252
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3252

Log:
OLPC XO-4 - disable thermal watchdog until silicon fixed

Modified:
   cpu/arm/mmp3/thermal.fth

Modified: cpu/arm/mmp3/thermal.fth
==============================================================================
--- cpu/arm/mmp3/thermal.fth	Thu Aug 30 18:37:19 2012	(r3251)
+++ cpu/arm/mmp3/thermal.fth	Fri Aug 31 00:05:00 2012	(r3252)
@@ -116,7 +116,7 @@
 : init-thermal-sensor  ( -- )
    ts-clocks
    0 ts-range-high
-   0 ts-watchdog-enable
+   \ 0 ts-watchdog-enable \ WDT reset will cause system hang, per errata 472630
    1 ts-range-low
    2 ts-range-low
    3 0 do  i ts-auto-read  loop
@@ -205,21 +205,21 @@
       ." THRSENS_WDTR_EN was not set" cr
       h# 200 mpmu@ 1 7 lshift or h# 200 mpmu!
    then
-   0 ts@
+   1 ts@
    1 d# 27 lshift or  \ set the lowrange bit
    h# 0020.0000 or    \ set the autorun bit (undocumented)
    h# 0400.0000 or    \ set the watchdog enable bit
    h# b h# f and d# 8 lshift or       \ set the watchdog temperature (58-60.5C)
    b# 0101.1111.1010.0000.0000.1111.1111.0000
    and \ always write zero to reserved bits
-   0 ts!
+   1 ts!
    ." thermal watchdog enabled" cr
    watch-thermal
 ;
 
 : force-thermal-watchdog
    h# 200 mpmu@ 1 7 lshift or h# 200 mpmu! \ thrsens_wdtr_en
-   h# 0c20.0000 h# 03.b000 io! \ lowrange, en_wdog, auto_read_en, wdog_tshld 26C
+   h# 0c20.0000 h# 03.b004 io! \ lowrange, en_wdog, auto_read_en, wdog_tshld 26C
 ;
 
 



More information about the openfirmware mailing list