All of lore.kernel.org
 help / color / mirror / Atom feed
* ixdp4xx restart. watchdog enable value
@ 2005-01-27 14:40 Ara Avanesyan
  2005-01-27 14:44 ` Ben Dooks
  2005-01-27 16:01 ` ixdp4xx restart. watchdog enable value David Vrabel
  0 siblings, 2 replies; 9+ messages in thread
From: Ara Avanesyan @ 2005-01-27 14:40 UTC (permalink / raw)
  To: linux-kernel

in file: include/asm-arm/arch-ixp4x//system.h
function: arch_reset

code snap --
/* disable watchdog interrupt, enable reset, enable count */
*IXP4XX_OSWE = 0x3;
--

according to intel's documentation the appropriate bits are in the
following order:
bit 2: wdog_cnt_ena
bit 1: wdog_int_ena
bit 0: wdog_rst_ena

so the above assigned value should be 101b == 0x5.
I do not know why 0x3 works at all. Btw, u-boot assigns 0x5.

This is for all kernels I had a chance to look at (2.4.20-2.6.10).

__
Thanks,
Ara


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-03-31 13:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-27 14:40 ixdp4xx restart. watchdog enable value Ara Avanesyan
2005-01-27 14:44 ` Ben Dooks
2005-03-28 14:57   ` Strange memory problem with Linux booted from U-Boot Ara Avanesyan
2005-03-28 15:06     ` Jan Engelhardt
2005-03-29  7:02       ` Ara Avanesyan
2005-03-28 16:17     ` linux-os
2005-03-30  7:21     ` Eugene Surovegin
2005-03-31 13:39       ` Ara Avanesyan
2005-01-27 16:01 ` ixdp4xx restart. watchdog enable value David Vrabel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.