Marcelo Tosatti fb64c2446b [PATCH] ppc32: m8xx watchdog update
This updates m8xx_wdt as follows:

1) Remove now obsolete fpos check in the write() function. The driver is
currently non functional due to this bug.

2) Use in/out macros for register access.

3) Allows m8xx_wdt to use a kernel timer instead of the builtin RTC/PIT
for keep-alive trigger (which is responsible for servicing the watchdog
until an userspace application takes over). For instance Cyclades PRxK
boards (MPC 855T based) have a non-functional internal RTC/PIT unit.
Behaviour for boards with RTC/PIT is unchaged.

4) The last change required moving the RTCSC register setting code
to a weak function which can be overriden by board specific files.
Otherwise the timer init code trashes the register making it impossible
for m8xx_wdt to detect the situation.

Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-01-09 14:50:51 +11:00
..
2005-10-11 22:08:12 +10:00
2006-01-09 14:50:51 +11:00
2006-01-09 14:50:51 +11:00
2005-10-11 22:08:12 +10:00
2005-10-11 22:08:12 +10:00
2005-10-12 14:43:32 +10:00
2005-11-07 07:53:26 -08:00
2005-10-12 14:43:32 +10:00
2005-11-07 07:53:47 -08:00
2005-10-11 22:08:12 +10:00
2005-10-11 22:08:12 +10:00