This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

MOAB - disable watchdog


on powerup - this platform allows it to be re-enabled 
(unlike the Motorola PowerPC chips)

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates
Index: hal/powerpc/moab/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/powerpc/moab/current/ChangeLog,v
retrieving revision 1.4
diff -u -5 -p -r1.4 ChangeLog
--- hal/powerpc/moab/current/ChangeLog	22 Sep 2003 17:35:53 -0000	1.4
+++ hal/powerpc/moab/current/ChangeLog	24 Sep 2003 16:05:20 -0000
@@ -1,5 +1,9 @@
+2003-09-24  Gary Thomas  <gary@mlbassoc.com>
+
+	* src/moab.S: Disable GPIO16 (watchdog timer) as output by default.
+
 2003-09-22  Gary Thomas  <gary@mlbassoc.com>
 
 	* cdl/hal_powerpc_moab.cdl: Need to force 'fconfig' since that is now
 	optional in RedBoot.
 
Index: hal/powerpc/moab/current/src/moab.S
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/powerpc/moab/current/src/moab.S,v
retrieving revision 1.1
diff -u -5 -p -r1.1 moab.S
--- hal/powerpc/moab/current/src/moab.S	19 Sep 2003 17:11:28 -0000	1.1
+++ hal/powerpc/moab/current/src/moab.S	24 Sep 2003 16:04:50 -0000
@@ -107,11 +107,11 @@ FUNC_START( hal_hardware_init )
         //   GPIO 24 - O - heartbeat LED
         lwi     r4,GPIO_OR              // Leave NAND not-selected, heartbeat off
         lwi     r3,0x00004080
         stw     r3,0(r4)
         lwi     r4,GPIO_TCR             // Tri-state control - enables outputs
-        lwi     r3,0x0003C080
+        lwi     r3,0x00034080
         stw     r3,0(r4)
         
         li      r3,DCR_SDRAM0_CFG          // See if SDRAM already configured
         mtdcr   DCR_SDRAM0_CFGADDR,r3        
         mfdcr   r4,DCR_SDRAM0_CFGDATA

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]