xref: /openbmc/linux/drivers/watchdog/Makefile (revision 66aaa7a5)
1b7e04f8cSWim Van Sebroeck#
2b7e04f8cSWim Van Sebroeck# Makefile for the WatchDog device drivers.
3b7e04f8cSWim Van Sebroeck#
4b7e04f8cSWim Van Sebroeck
5b7e04f8cSWim Van Sebroeck# Only one watchdog can succeed. We probe the ISA/PCI/USB based
6b7e04f8cSWim Van Sebroeck# watchdog-cards first, then the architecture specific watchdog
7b7e04f8cSWim Van Sebroeck# drivers and then the architecture independant "softdog" driver.
8b7e04f8cSWim Van Sebroeck# This means that if your ISA/PCI/USB card isn't detected that
9b7e04f8cSWim Van Sebroeck# you can fall back to an architecture specific driver and if
10b7e04f8cSWim Van Sebroeck# that also fails then you can fall back to the software watchdog
11b7e04f8cSWim Van Sebroeck# to give you some cover.
12b7e04f8cSWim Van Sebroeck
13b7e04f8cSWim Van Sebroeck# ISA-based Watchdog Cards
14b7e04f8cSWim Van Sebroeckobj-$(CONFIG_PCWATCHDOG) += pcwd.o
15b7e04f8cSWim Van Sebroeckobj-$(CONFIG_MIXCOMWD) += mixcomwd.o
16b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WDT) += wdt.o
17b7e04f8cSWim Van Sebroeck
18b7e04f8cSWim Van Sebroeck# PCI-based Watchdog Cards
19b7e04f8cSWim Van Sebroeckobj-$(CONFIG_PCIPCWATCHDOG) += pcwd_pci.o
20b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WDTPCI) += wdt_pci.o
21b7e04f8cSWim Van Sebroeck
22b7e04f8cSWim Van Sebroeck# USB-based Watchdog Cards
23b7e04f8cSWim Van Sebroeckobj-$(CONFIG_USBPCWATCHDOG) += pcwd_usb.o
24b7e04f8cSWim Van Sebroeck
25b7e04f8cSWim Van Sebroeck# ALPHA Architecture
26b7e04f8cSWim Van Sebroeck
27b7e04f8cSWim Van Sebroeck# ARM Architecture
28b7e04f8cSWim Van Sebroeckobj-$(CONFIG_AT91RM9200_WATCHDOG) += at91rm9200_wdt.o
29e6bb42e3SRenaud CERRATOobj-$(CONFIG_AT91SAM9X_WATCHDOG) += at91sam9_wdt.o
30b7e04f8cSWim Van Sebroeckobj-$(CONFIG_OMAP_WATCHDOG) += omap_wdt.o
3180e45b1eSTimo Kokkonenobj-$(CONFIG_TWL4030_WATCHDOG) += twl4030_wdt.o
32b7e04f8cSWim Van Sebroeckobj-$(CONFIG_21285_WATCHDOG) += wdt285.o
33b7e04f8cSWim Van Sebroeckobj-$(CONFIG_977_WATCHDOG) += wdt977.o
34b7e04f8cSWim Van Sebroeckobj-$(CONFIG_IXP2000_WATCHDOG) += ixp2000_wdt.o
35b7e04f8cSWim Van Sebroeckobj-$(CONFIG_IXP4XX_WATCHDOG) += ixp4xx_wdt.o
36b7e04f8cSWim Van Sebroeckobj-$(CONFIG_KS8695_WATCHDOG) += ks8695_wdt.o
37b7e04f8cSWim Van Sebroeckobj-$(CONFIG_S3C2410_WATCHDOG) += s3c2410_wdt.o
38b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SA1100_WATCHDOG) += sa1100_wdt.o
39b7e04f8cSWim Van Sebroeckobj-$(CONFIG_MPCORE_WATCHDOG) += mpcore_wdt.o
40b7e04f8cSWim Van Sebroeckobj-$(CONFIG_EP93XX_WATCHDOG) += ep93xx_wdt.o
41b7e04f8cSWim Van Sebroeckobj-$(CONFIG_PNX4008_WATCHDOG) += pnx4008_wdt.o
42b7e04f8cSWim Van Sebroeckobj-$(CONFIG_IOP_WATCHDOG) += iop_wdt.o
43b7e04f8cSWim Van Sebroeckobj-$(CONFIG_DAVINCI_WATCHDOG) += davinci_wdt.o
443b937a7dSNicolas Pitreobj-$(CONFIG_ORION_WATCHDOG) += orion_wdt.o
4501480701SLinus Walleijobj-$(CONFIG_COH901327_WATCHDOG) += coh901327_wdt.o
46accde168Sdmitry pervushinobj-$(CONFIG_STMP3XXX_WATCHDOG) += stmp3xxx_wdt.o
470400e313SWan ZongShunobj-$(CONFIG_NUC900_WATCHDOG) += nuc900_wdt.o
4838461c5cSThierry Redingobj-$(CONFIG_ADX_WATCHDOG) += adx_wdt.o
49c90bf2aaSMika Westerbergobj-$(CONFIG_TS72XX_WATCHDOG) += ts72xx_wdt.o
50b7e04f8cSWim Van Sebroeck
51b7e04f8cSWim Van Sebroeck# AVR32 Architecture
52b7e04f8cSWim Van Sebroeckobj-$(CONFIG_AT32AP700X_WDT) += at32ap700x_wdt.o
53b7e04f8cSWim Van Sebroeck
54b7e04f8cSWim Van Sebroeck# BLACKFIN Architecture
55b7e04f8cSWim Van Sebroeckobj-$(CONFIG_BFIN_WDT) += bfin_wdt.o
56b7e04f8cSWim Van Sebroeck
57b7e04f8cSWim Van Sebroeck# CRIS Architecture
58b7e04f8cSWim Van Sebroeck
59b7e04f8cSWim Van Sebroeck# FRV Architecture
60b7e04f8cSWim Van Sebroeck
61b7e04f8cSWim Van Sebroeck# H8300 Architecture
62b7e04f8cSWim Van Sebroeck
63b7e04f8cSWim Van Sebroeck# X86 (i386 + ia64 + x86_64) Architecture
64b7e04f8cSWim Van Sebroeckobj-$(CONFIG_ACQUIRE_WDT) += acquirewdt.o
65b7e04f8cSWim Van Sebroeckobj-$(CONFIG_ADVANTECH_WDT) += advantechwdt.o
66b7e04f8cSWim Van Sebroeckobj-$(CONFIG_ALIM1535_WDT) += alim1535_wdt.o
67b7e04f8cSWim Van Sebroeckobj-$(CONFIG_ALIM7101_WDT) += alim7101_wdt.o
680b36086bSJordan Crouseobj-$(CONFIG_GEODE_WDT) += geodewdt.o
69b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SC520_WDT) += sc520_wdt.o
703a5f9000SDenis Turischevobj-$(CONFIG_SBC_FITPC2_WATCHDOG) += sbc_fitpc2_wdt.o
71b7e04f8cSWim Van Sebroeckobj-$(CONFIG_EUROTECH_WDT) += eurotechwdt.o
72b7e04f8cSWim Van Sebroeckobj-$(CONFIG_IB700_WDT) += ib700wdt.o
73b7e04f8cSWim Van Sebroeckobj-$(CONFIG_IBMASR) += ibmasr.o
74b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WAFER_WDT) += wafer5823wdt.o
75b7e04f8cSWim Van Sebroeckobj-$(CONFIG_I6300ESB_WDT) += i6300esb.o
76d6efcab8SJean Delvareobj-$(CONFIG_ITCO_WDT) += iTCO_wdt.o
77d6efcab8SJean Delvareifeq ($(CONFIG_ITCO_VENDOR_SUPPORT),y)
78d6efcab8SJean Delvareobj-$(CONFIG_ITCO_WDT) += iTCO_vendor_support.o
79d6efcab8SJean Delvareendif
8038ff6fd2SJorge Boncompte [DTI2]obj-$(CONFIG_IT8712F_WDT) += it8712f_wdt.o
81e1fee94fSOliver Schusterobj-$(CONFIG_IT87_WDT) += it87_wdt.o
827f4da474SThomas Mingarelliobj-$(CONFIG_HP_WATCHDOG) += hpwdt.o
83b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SC1200_WDT) += sc1200wdt.o
84b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SCx200_WDT) += scx200_wdt.o
85b7e04f8cSWim Van Sebroeckobj-$(CONFIG_PC87413_WDT) += pc87413_wdt.o
86b3e8f2c1SFlorian Fainelliobj-$(CONFIG_RDC321X_WDT) += rdc321x_wdt.o
87b7e04f8cSWim Van Sebroeckobj-$(CONFIG_60XX_WDT) += sbc60xxwdt.o
88b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SBC8360_WDT) += sbc8360.o
89c4c28335SGilles Giganobj-$(CONFIG_SBC7240_WDT) += sbc7240_wdt.o
90b7e04f8cSWim Van Sebroeckobj-$(CONFIG_CPU5_WDT) += cpu5wdt.o
914c6e63bdSWim Van Sebroeckobj-$(CONFIG_SMSC_SCH311X_WDT) += sch311x_wdt.o
92b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SMSC37B787_WDT) += smsc37b787_wdt.o
93b7e04f8cSWim Van Sebroeckobj-$(CONFIG_W83627HF_WDT) += w83627hf_wdt.o
94b7e04f8cSWim Van Sebroeckobj-$(CONFIG_W83697HF_WDT) += w83697hf_wdt.o
957d8b0906SFlemming Frandsenobj-$(CONFIG_W83697UG_WDT) += w83697ug_wdt.o
96b7e04f8cSWim Van Sebroeckobj-$(CONFIG_W83877F_WDT) += w83877f_wdt.o
97b7e04f8cSWim Van Sebroeckobj-$(CONFIG_W83977F_WDT) += w83977f_wdt.o
98b7e04f8cSWim Van Sebroeckobj-$(CONFIG_MACHZ_WDT) += machzwd.o
99b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SBC_EPX_C3_WATCHDOG) += sbc_epx_c3.o
100b7e04f8cSWim Van Sebroeck
101b7e04f8cSWim Van Sebroeck# M32R Architecture
102b7e04f8cSWim Van Sebroeck
103b7e04f8cSWim Van Sebroeck# M68K Architecture
104b7e04f8cSWim Van Sebroeck
105b7e04f8cSWim Van Sebroeck# M68KNOMMU Architecture
106b7e04f8cSWim Van Sebroeck
107b7e04f8cSWim Van Sebroeck# MIPS Architecture
10890074dceSmatthieu castetobj-$(CONFIG_BCM47XX_WDT) += bcm47xx_wdt.o
10903ec5856SFlorian Fainelliobj-$(CONFIG_RC32434_WDT) += rc32434_wdt.o
110b7e04f8cSWim Van Sebroeckobj-$(CONFIG_INDYDOG) += indydog.o
111b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
11233c050c5SDaniel Lairdobj-$(CONFIG_PNX833X_WDT) += pnx833x_wdt.o
11375c752e6SAndrew Sharpobj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
114c283cf2cSMatteo Croceobj-$(CONFIG_AR7_WDT) += ar7_wdt.o
1156f702fceSAtsushi Nemotoobj-$(CONFIG_TXX9_WDT) += txx9wdt.o
116b7e04f8cSWim Van Sebroeck
117b7e04f8cSWim Van Sebroeck# PARISC Architecture
118b7e04f8cSWim Van Sebroeck
119b7e04f8cSWim Van Sebroeck# POWERPC Architecture
1203268b561SMartyn Welchobj-$(CONFIG_GEF_WDT) += gef_wdt.o
12128acd02fSAnton Vorontsovobj-$(CONFIG_8xxx_WDT) += mpc8xxx_wdt.o
122b7e04f8cSWim Van Sebroeckobj-$(CONFIG_MV64X60_WDT) += mv64x60_wdt.o
123618efba9SSean MacLennanobj-$(CONFIG_PIKA_WDT) += pika_wdt.o
124b7e04f8cSWim Van Sebroeckobj-$(CONFIG_BOOKE_WDT) += booke_wdt.o
125b7e04f8cSWim Van Sebroeck
126b7e04f8cSWim Van Sebroeck# PPC64 Architecture
127b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WATCHDOG_RTAS) += wdrtas.o
128b7e04f8cSWim Van Sebroeck
129b7e04f8cSWim Van Sebroeck# S390 Architecture
130b7e04f8cSWim Van Sebroeck
131b7e04f8cSWim Van Sebroeck# SUPERH (sh + sh64) Architecture
132b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SH_WDT) += shwdt.o
133b7e04f8cSWim Van Sebroeck
134b7e04f8cSWim Van Sebroeck# SPARC Architecture
135b7e04f8cSWim Van Sebroeck
136b7e04f8cSWim Van Sebroeck# SPARC64 Architecture
137b7e04f8cSWim Van Sebroeck
138957183f3SDavid S. Millerobj-$(CONFIG_WATCHDOG_RIO)		+= riowd.o
1398ab0dc33SDavid S. Millerobj-$(CONFIG_WATCHDOG_CP1XXX)		+= cpwd.o
140957183f3SDavid S. Miller
141b7e04f8cSWim Van Sebroeck# XTENSA Architecture
142b7e04f8cSWim Van Sebroeck
143b7e04f8cSWim Van Sebroeck# Architecture Independant
144502a0106SMark Brownobj-$(CONFIG_WM831X_WATCHDOG) += wm831x_wdt.o
145006948baSMark Brownobj-$(CONFIG_WM8350_WATCHDOG) += wm8350_wdt.o
14666aaa7a5SMarc Zyngierobj-$(CONFIG_MAX63XX_WATCHDOG) += max63xx_wdt.o
147b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SOFT_WATCHDOG) += softdog.o
148