fb64c2446b
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> |
||
---|---|---|
.. | ||
btext.c | ||
cpc700_pic.c | ||
cpc700.h | ||
cpc710.h | ||
cpm2_common.c | ||
cpm2_pic.c | ||
cpm2_pic.h | ||
gen550_dbg.c | ||
gen550_kgdb.c | ||
gen550.h | ||
gt64260_pic.c | ||
harrier.c | ||
hawk_common.c | ||
ibm44x_common.c | ||
ibm44x_common.h | ||
ibm440gp_common.c | ||
ibm440gp_common.h | ||
ibm440gx_common.c | ||
ibm440gx_common.h | ||
ibm440sp_common.c | ||
ibm440sp_common.h | ||
ibm_ocp.c | ||
m8xx_setup.c | ||
m8xx_wdt.c | ||
m8xx_wdt.h | ||
m82xx_pci.c | ||
m82xx_pci.h | ||
m8260_pci_erratum9.c | ||
m8260_setup.c | ||
Makefile | ||
mpc8xx_devices.c | ||
mpc8xx_sys.c | ||
mpc10x_common.c | ||
mpc52xx_devices.c | ||
mpc52xx_pci.c | ||
mpc52xx_pci.h | ||
mpc52xx_pic.c | ||
mpc52xx_setup.c | ||
mpc52xx_sys.c | ||
mpc83xx_devices.c | ||
mpc83xx_sys.c | ||
mpc85xx_devices.c | ||
mpc85xx_sys.c | ||
mv64x60_dbg.c | ||
mv64x60_win.c | ||
mv64x60.c | ||
mv64360_pic.c | ||
ocp.c | ||
open_pic2.c | ||
open_pic_defs.h | ||
open_pic.c | ||
pci_auto.c | ||
ppc4xx_dma.c | ||
ppc4xx_pic.c | ||
ppc4xx_pm.c | ||
ppc4xx_setup.c | ||
ppc4xx_sgdma.c | ||
ppc8xx_pic.c | ||
ppc8xx_pic.h | ||
ppc83xx_pci.h | ||
ppc83xx_setup.c | ||
ppc83xx_setup.h | ||
ppc85xx_common.c | ||
ppc85xx_common.h | ||
ppc85xx_rio.c | ||
ppc85xx_rio.h | ||
ppc85xx_setup.c | ||
ppc85xx_setup.h | ||
ppc403_pic.c | ||
ppc405_pci.c | ||
ppc440spe_pcie.c | ||
ppc440spe_pcie.h | ||
ppc_sys.c | ||
pq2_devices.c | ||
pq2_sys.c | ||
prep_nvram.c | ||
prom_init.c | ||
prom.c | ||
qspan_pci.c | ||
todc_time.c | ||
xilinx_pic.c |