Browse Source

watchdog: Add hardware dependency to BCM7038 driver

The BCM7038 watchdog driver is specific to Broadcom ARM and MIPS
SoCs so do not present it on other architectures, unless
build-testing.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Justin Chen <justinpopo6@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Jean Delvare 9 years ago
parent
commit
972ec35103
1 changed files with 5 additions and 3 deletions
  1. 5 3
      drivers/watchdog/Kconfig

+ 5 - 3
drivers/watchdog/Kconfig

@@ -1380,10 +1380,12 @@ config BCM7038_WDT
 	tristate "BCM7038 Watchdog"
 	tristate "BCM7038 Watchdog"
 	select WATCHDOG_CORE
 	select WATCHDOG_CORE
 	depends on HAS_IOMEM
 	depends on HAS_IOMEM
+	depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
 	help
 	help
-	 Watchdog driver for the built-in hardware in Broadcom 7038 SoCs.
-
-	 Say 'Y or 'M' here to enable the driver.
+	 Watchdog driver for the built-in hardware in Broadcom 7038 and
+	 later SoCs used in set-top boxes.  BCM7038 was made public
+	 during the 2004 CES, and since then, many Broadcom chips use this
+	 watchdog block, including some cable modem chips.
 
 
 config IMGPDC_WDT
 config IMGPDC_WDT
 	tristate "Imagination Technologies PDC Watchdog Timer"
 	tristate "Imagination Technologies PDC Watchdog Timer"