android_kernel_xiaomi_sm8350/arch/ppc/syslib
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
..
btext.c [PATCH] powerpc: Remove sections use from ppc 2005-09-19 09:38:49 +10:00
cpc700_pic.c [PATCH] PPC: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
cpc700.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpc710.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpm2_common.c [PATCH] ppc32: Add proper prototype for cpm2_reset() 2005-07-27 16:25:55 -07:00
cpm2_pic.c [PATCH] ppc32: fix PQ2 PCI DMA interrupt handling 2005-11-11 22:19:56 +11:00
cpm2_pic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550_dbg.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550_kgdb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gt64260_pic.c ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
harrier.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hawk_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm44x_common.c [PATCH] ppc32: Add missing initrd header on ppc440 2005-11-07 07:53:27 -08:00
ibm44x_common.h [PATCH] ppc32: Cleanup AMCC PPC44x eval board U-Boot support 2005-10-29 13:55:39 +10:00
ibm440gp_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gp_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gx_common.c [PATCH] ppc32: make cur_cpu_spec a single pointer instead of an array 2005-09-28 15:42:54 +10:00
ibm440gx_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440sp_common.c [PATCH] ppc32: Add 440SPe support 2005-11-07 07:53:26 -08:00
ibm440sp_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm_ocp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8xx_setup.c [PATCH] ppc32: m8xx watchdog update 2006-01-09 14:50:51 +11:00
m8xx_wdt.c [PATCH] ppc32: m8xx watchdog update 2006-01-09 14:50:51 +11:00
m8xx_wdt.h [PATCH] ppc32: m8xx watchdog update 2006-01-09 14:50:51 +11:00
m82xx_pci.c [PATCH] ppc32: Fix incorrect PCI frequency value 2005-12-01 15:48:56 -08:00
m82xx_pci.h [PATCH] ppc32: Support for 82xx PQII on-chip PCI bridge 2005-05-28 16:46:15 -07:00
m8260_pci_erratum9.c [PATCH] ppc32: Support for 82xx PQII on-chip PCI bridge 2005-05-28 16:46:15 -07:00
m8260_setup.c [PATCH] ppc32: ppc_sys fixes for 8xx and 82xx 2005-10-29 14:49:29 +10:00
Makefile [PATCH] powerpc: moved ipic code to arch/powerpc 2006-01-09 14:48:57 +11:00
mpc8xx_devices.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
mpc8xx_sys.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
mpc10x_common.c [SERIAL] Use an enum for serial8250 platform device IDs 2005-09-08 16:04:41 +01:00
mpc52xx_devices.c Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
mpc52xx_pci.c [PATCH] ppc32: Fix MPC52xx PCI init in cas the bootloader didn't do it 2006-01-06 08:33:31 -08:00
mpc52xx_pci.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_setup.c [PATCH] ppc32: Fix static IO mapping for Freescale MPC52xx 2006-01-06 08:33:31 -08:00
mpc52xx_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc83xx_devices.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
mpc83xx_sys.c [PATCH] ppc: Fix MPC83xx device table 2005-11-18 13:31:37 +11:00
mpc85xx_devices.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
mpc85xx_sys.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
mv64x60_dbg.c ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
mv64x60_win.c [PATCH] ppc32: remove some unnecessary includes of bootmem.h 2005-06-25 16:24:27 -07:00
mv64x60.c Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00
mv64360_pic.c ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
ocp.c [PATCH] ppc32: fix ocp_device_suspend to use pm_message_t instead of u32 2005-09-07 16:57:15 -07:00
open_pic2.c Merge from Linus' tree 2005-10-12 14:43:32 +10:00
open_pic_defs.h [PATCH] ppc32: fix compilation error in arch/ppc/syslib/open_pic_defs.h 2005-04-16 15:24:29 -07:00
open_pic.c ppc: Minor smp changes for consistency with ppc64 2005-10-19 21:44:51 +10:00
pci_auto.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_dma.c [PATCH] ppc: ppc4xx_dma DMA_MODE_{READ,WRITE} fix 2005-12-16 14:43:05 -08:00
ppc4xx_pic.c [PATCH] ppc32: Add 440SPe support 2005-11-07 07:53:26 -08:00
ppc4xx_pm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_setup.c Merge from Linus' tree 2005-10-12 14:43:32 +10:00
ppc4xx_sgdma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc8xx_pic.c [PATCH] ppc32 8xx: use io accessor macros instead of direct memory reference 2005-10-29 13:55:27 +10:00
ppc8xx_pic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc83xx_pci.h [PATCH] ppc32: Added PCI support MPC83xx 2005-09-05 00:05:59 -07:00
ppc83xx_setup.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
ppc83xx_setup.h [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
ppc85xx_common.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
ppc85xx_common.h [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
ppc85xx_rio.c [PATCH] rapidio: message interface updates 2005-11-07 07:53:47 -08:00
ppc85xx_rio.h [PATCH] RapidIO support: ppc32 2005-11-07 07:53:47 -08:00
ppc85xx_setup.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
ppc85xx_setup.h [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
ppc403_pic.c ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
ppc405_pci.c [PATCH] ppc32: Remove internal PCI arbiter check on PPC40x 2005-11-07 07:53:27 -08:00
ppc440spe_pcie.c [PATCH] ppc32: Add 440SPe support 2005-11-07 07:53:26 -08:00
ppc440spe_pcie.h [PATCH] ppc32: Add 440SPe support 2005-11-07 07:53:26 -08:00
ppc_sys.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
pq2_devices.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
pq2_sys.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
prep_nvram.c [PATCH] powerpc: Remove sections use from ppc 2005-09-19 09:38:49 +10:00
prom_init.c [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
prom.c [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
qspan_pci.c [PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions 2005-09-09 14:03:48 -07:00
todc_time.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xilinx_pic.c ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00