summaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcm283x/reset.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2019-05-10 14:26:57 +0200
committerStefan Roese <sr@denx.de>2019-08-05 11:50:06 +0200
commitc7adc0b5f9809bddb3707f2383924d22af8b586f (patch)
tree5406594f96d9726391c64454ce75bd77ea3cae6e /arch/arm/mach-bcm283x/reset.c
parent898c40c0d6f9e53dafcfdf6f870190faef6e088b (diff)
watchdog: bcm2835_wdt: Remove unused BCM283x watchdog driver and its references
The BCM2835/2836 watchdog is not used in mainline U-Boot at all. This patch removes the driver and its references (CONFIG_BCM2835_WDT) completely. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Paolo Pisati <p.pisati@gmail.com>
Diffstat (limited to 'arch/arm/mach-bcm283x/reset.c')
-rw-r--r--arch/arm/mach-bcm283x/reset.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-bcm283x/reset.c b/arch/arm/mach-bcm283x/reset.c
index 7712d4664c..b3da0c7cd6 100644
--- a/arch/arm/mach-bcm283x/reset.c
+++ b/arch/arm/mach-bcm283x/reset.c
@@ -23,11 +23,7 @@
/* max ticks timeout */
#define BCM2835_WDOG_MAX_TIMEOUT 0x000fffff
-#ifdef CONFIG_BCM2835_WDT
-extern void hw_watchdog_disable(void);
-#else
void hw_watchdog_disable(void) {}
-#endif
__efi_runtime_data struct bcm2835_wdog_regs *wdog_regs =
(struct bcm2835_wdog_regs *)BCM2835_WDOG_PHYSADDR;