xref: /openbmc/linux/drivers/watchdog/Makefile (revision cd5d5810)
1#
2# Makefile for the WatchDog device drivers.
3#
4
5# The WatchDog Timer Driver Core.
6watchdog-objs	+= watchdog_core.o watchdog_dev.o
7obj-$(CONFIG_WATCHDOG_CORE)	+= watchdog.o
8
9# Only one watchdog can succeed. We probe the ISA/PCI/USB based
10# watchdog-cards first, then the architecture specific watchdog
11# drivers and then the architecture independent "softdog" driver.
12# This means that if your ISA/PCI/USB card isn't detected that
13# you can fall back to an architecture specific driver and if
14# that also fails then you can fall back to the software watchdog
15# to give you some cover.
16
17# ISA-based Watchdog Cards
18obj-$(CONFIG_PCWATCHDOG) += pcwd.o
19obj-$(CONFIG_MIXCOMWD) += mixcomwd.o
20obj-$(CONFIG_WDT) += wdt.o
21
22# PCI-based Watchdog Cards
23obj-$(CONFIG_PCIPCWATCHDOG) += pcwd_pci.o
24obj-$(CONFIG_WDTPCI) += wdt_pci.o
25
26# USB-based Watchdog Cards
27obj-$(CONFIG_USBPCWATCHDOG) += pcwd_usb.o
28
29# ALPHA Architecture
30
31# ARM Architecture
32obj-$(CONFIG_ARM_SP805_WATCHDOG) += sp805_wdt.o
33obj-$(CONFIG_AT91RM9200_WATCHDOG) += at91rm9200_wdt.o
34obj-$(CONFIG_AT91SAM9X_WATCHDOG) += at91sam9_wdt.o
35obj-$(CONFIG_OMAP_WATCHDOG) += omap_wdt.o
36obj-$(CONFIG_TWL4030_WATCHDOG) += twl4030_wdt.o
37obj-$(CONFIG_21285_WATCHDOG) += wdt285.o
38obj-$(CONFIG_977_WATCHDOG) += wdt977.o
39obj-$(CONFIG_IXP4XX_WATCHDOG) += ixp4xx_wdt.o
40obj-$(CONFIG_KS8695_WATCHDOG) += ks8695_wdt.o
41obj-$(CONFIG_S3C2410_WATCHDOG) += s3c2410_wdt.o
42obj-$(CONFIG_SA1100_WATCHDOG) += sa1100_wdt.o
43obj-$(CONFIG_DW_WATCHDOG) += dw_wdt.o
44obj-$(CONFIG_EP93XX_WATCHDOG) += ep93xx_wdt.o
45obj-$(CONFIG_PNX4008_WATCHDOG) += pnx4008_wdt.o
46obj-$(CONFIG_IOP_WATCHDOG) += iop_wdt.o
47obj-$(CONFIG_DAVINCI_WATCHDOG) += davinci_wdt.o
48obj-$(CONFIG_ORION_WATCHDOG) += orion_wdt.o
49obj-$(CONFIG_SUNXI_WATCHDOG) += sunxi_wdt.o
50obj-$(CONFIG_COH901327_WATCHDOG) += coh901327_wdt.o
51obj-$(CONFIG_STMP3XXX_RTC_WATCHDOG) += stmp3xxx_rtc_wdt.o
52obj-$(CONFIG_NUC900_WATCHDOG) += nuc900_wdt.o
53obj-$(CONFIG_TS72XX_WATCHDOG) += ts72xx_wdt.o
54obj-$(CONFIG_IMX2_WDT) += imx2_wdt.o
55obj-$(CONFIG_UX500_WATCHDOG) += ux500_wdt.o
56obj-$(CONFIG_RETU_WATCHDOG) += retu_wdt.o
57obj-$(CONFIG_BCM2835_WDT) += bcm2835_wdt.o
58
59# AVR32 Architecture
60obj-$(CONFIG_AT32AP700X_WDT) += at32ap700x_wdt.o
61
62# BLACKFIN Architecture
63obj-$(CONFIG_BFIN_WDT) += bfin_wdt.o
64
65# CRIS Architecture
66
67# FRV Architecture
68
69# H8300 Architecture
70
71# X86 (i386 + ia64 + x86_64) Architecture
72obj-$(CONFIG_ACQUIRE_WDT) += acquirewdt.o
73obj-$(CONFIG_ADVANTECH_WDT) += advantechwdt.o
74obj-$(CONFIG_ALIM1535_WDT) += alim1535_wdt.o
75obj-$(CONFIG_ALIM7101_WDT) += alim7101_wdt.o
76obj-$(CONFIG_F71808E_WDT) += f71808e_wdt.o
77obj-$(CONFIG_SP5100_TCO) += sp5100_tco.o
78obj-$(CONFIG_GEODE_WDT) += geodewdt.o
79obj-$(CONFIG_SC520_WDT) += sc520_wdt.o
80obj-$(CONFIG_SBC_FITPC2_WATCHDOG) += sbc_fitpc2_wdt.o
81obj-$(CONFIG_EUROTECH_WDT) += eurotechwdt.o
82obj-$(CONFIG_IB700_WDT) += ib700wdt.o
83obj-$(CONFIG_IBMASR) += ibmasr.o
84obj-$(CONFIG_WAFER_WDT) += wafer5823wdt.o
85obj-$(CONFIG_I6300ESB_WDT) += i6300esb.o
86obj-$(CONFIG_IE6XX_WDT) += ie6xx_wdt.o
87obj-$(CONFIG_ITCO_WDT) += iTCO_wdt.o
88ifeq ($(CONFIG_ITCO_VENDOR_SUPPORT),y)
89obj-$(CONFIG_ITCO_WDT) += iTCO_vendor_support.o
90endif
91obj-$(CONFIG_IT8712F_WDT) += it8712f_wdt.o
92obj-$(CONFIG_IT87_WDT) += it87_wdt.o
93obj-$(CONFIG_HP_WATCHDOG) += hpwdt.o
94obj-$(CONFIG_KEMPLD_WDT) += kempld_wdt.o
95obj-$(CONFIG_SC1200_WDT) += sc1200wdt.o
96obj-$(CONFIG_SCx200_WDT) += scx200_wdt.o
97obj-$(CONFIG_PC87413_WDT) += pc87413_wdt.o
98obj-$(CONFIG_NV_TCO) += nv_tco.o
99obj-$(CONFIG_RDC321X_WDT) += rdc321x_wdt.o
100obj-$(CONFIG_60XX_WDT) += sbc60xxwdt.o
101obj-$(CONFIG_SBC8360_WDT) += sbc8360.o
102obj-$(CONFIG_SBC7240_WDT) += sbc7240_wdt.o
103obj-$(CONFIG_CPU5_WDT) += cpu5wdt.o
104obj-$(CONFIG_SMSC_SCH311X_WDT) += sch311x_wdt.o
105obj-$(CONFIG_SMSC37B787_WDT) += smsc37b787_wdt.o
106obj-$(CONFIG_VIA_WDT) += via_wdt.o
107obj-$(CONFIG_W83627HF_WDT) += w83627hf_wdt.o
108obj-$(CONFIG_W83697HF_WDT) += w83697hf_wdt.o
109obj-$(CONFIG_W83697UG_WDT) += w83697ug_wdt.o
110obj-$(CONFIG_W83877F_WDT) += w83877f_wdt.o
111obj-$(CONFIG_W83977F_WDT) += w83977f_wdt.o
112obj-$(CONFIG_MACHZ_WDT) += machzwd.o
113obj-$(CONFIG_SBC_EPX_C3_WATCHDOG) += sbc_epx_c3.o
114obj-$(CONFIG_INTEL_SCU_WATCHDOG) += intel_scu_watchdog.o
115
116# M32R Architecture
117
118# M68K Architecture
119obj-$(CONFIG_M54xx_WATCHDOG) += m54xx_wdt.o
120
121# MicroBlaze Architecture
122obj-$(CONFIG_XILINX_WATCHDOG) += of_xilinx_wdt.o
123
124# MIPS Architecture
125obj-$(CONFIG_ATH79_WDT) += ath79_wdt.o
126obj-$(CONFIG_BCM47XX_WDT) += bcm47xx_wdt.o
127obj-$(CONFIG_BCM63XX_WDT) += bcm63xx_wdt.o
128obj-$(CONFIG_RC32434_WDT) += rc32434_wdt.o
129obj-$(CONFIG_INDYDOG) += indydog.o
130obj-$(CONFIG_JZ4740_WDT) += jz4740_wdt.o
131obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
132obj-$(CONFIG_PNX833X_WDT) += pnx833x_wdt.o
133obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
134obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
135obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
136obj-$(CONFIG_OCTEON_WDT) += octeon-wdt.o
137octeon-wdt-y := octeon-wdt-main.o octeon-wdt-nmi.o
138obj-$(CONFIG_LANTIQ_WDT) += lantiq_wdt.o
139
140# PARISC Architecture
141
142# POWERPC Architecture
143obj-$(CONFIG_GEF_WDT) += gef_wdt.o
144obj-$(CONFIG_8xxx_WDT) += mpc8xxx_wdt.o
145obj-$(CONFIG_MV64X60_WDT) += mv64x60_wdt.o
146obj-$(CONFIG_PIKA_WDT) += pika_wdt.o
147obj-$(CONFIG_BOOKE_WDT) += booke_wdt.o
148obj-$(CONFIG_MEN_A21_WDT) += mena21_wdt.o
149
150# PPC64 Architecture
151obj-$(CONFIG_WATCHDOG_RTAS) += wdrtas.o
152
153# S390 Architecture
154
155# SUPERH (sh + sh64) Architecture
156obj-$(CONFIG_SH_WDT) += shwdt.o
157
158# SPARC Architecture
159
160# SPARC64 Architecture
161
162obj-$(CONFIG_WATCHDOG_RIO)		+= riowd.o
163obj-$(CONFIG_WATCHDOG_CP1XXX)		+= cpwd.o
164
165# XTENSA Architecture
166
167# Xen
168obj-$(CONFIG_XEN_WDT) += xen_wdt.o
169
170# Architecture Independent
171obj-$(CONFIG_DA9052_WATCHDOG) += da9052_wdt.o
172obj-$(CONFIG_DA9055_WATCHDOG) += da9055_wdt.o
173obj-$(CONFIG_WM831X_WATCHDOG) += wm831x_wdt.o
174obj-$(CONFIG_WM8350_WATCHDOG) += wm8350_wdt.o
175obj-$(CONFIG_MAX63XX_WATCHDOG) += max63xx_wdt.o
176obj-$(CONFIG_SOFT_WATCHDOG) += softdog.o
177